Home
last modified time | relevance | path

Searched refs:preferredHyphen (Results 1 – 1 of 1) sorted by relevance

/frameworks/minikin/libs/minikin/
DLayoutCore.cpp206 static inline hb_codepoint_t determineHyphenChar(hb_codepoint_t preferredHyphen, hb_font_t* font) { in determineHyphenChar() argument
208 if (preferredHyphen == 0x058A /* ARMENIAN_HYPHEN */ in determineHyphenChar()
209 || preferredHyphen == 0x05BE /* HEBREW PUNCTUATION MAQAF */ in determineHyphenChar()
210 || preferredHyphen == 0x1400 /* CANADIAN SYLLABIC HYPHEN */) { in determineHyphenChar()
211 if (hb_font_get_nominal_glyph(font, preferredHyphen, &glyph)) { in determineHyphenChar()
212 return preferredHyphen; in determineHyphenChar()
216 preferredHyphen = CHAR_HYPHEN; in determineHyphenChar()
219 if (preferredHyphen == CHAR_HYPHEN) { /* HYPHEN */ in determineHyphenChar()
223 if (!hb_font_get_nominal_glyph(font, preferredHyphen, &glyph)) { in determineHyphenChar()
227 return preferredHyphen; in determineHyphenChar()