Home
last modified time | relevance | path

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

/frameworks/minikin/libs/minikin/
DLayoutCore.cpp192 static inline hb_codepoint_t determineHyphenChar(hb_codepoint_t preferredHyphen, hb_font_t* font) { in determineHyphenChar() argument
194 if (preferredHyphen == 0x058A /* ARMENIAN_HYPHEN */ in determineHyphenChar()
195 || preferredHyphen == 0x05BE /* HEBREW PUNCTUATION MAQAF */ in determineHyphenChar()
196 || preferredHyphen == 0x1400 /* CANADIAN SYLLABIC HYPHEN */) { in determineHyphenChar()
197 if (hb_font_get_nominal_glyph(font, preferredHyphen, &glyph)) { in determineHyphenChar()
198 return preferredHyphen; in determineHyphenChar()
202 preferredHyphen = CHAR_HYPHEN; in determineHyphenChar()
205 if (preferredHyphen == CHAR_HYPHEN) { /* HYPHEN */ in determineHyphenChar()
209 if (!hb_font_get_nominal_glyph(font, preferredHyphen, &glyph)) { in determineHyphenChar()
213 return preferredHyphen; in determineHyphenChar()