Home
last modified time | relevance | path

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

/frameworks/minikin/libs/minikin/
DLayout.cpp444 static inline hb_codepoint_t determineHyphenChar(hb_codepoint_t preferredHyphen, hb_font_t* font) { in determineHyphenChar() argument
446 if (preferredHyphen == 0x058A /* ARMENIAN_HYPHEN */ in determineHyphenChar()
447 || preferredHyphen == 0x05BE /* HEBREW PUNCTUATION MAQAF */ in determineHyphenChar()
448 || preferredHyphen == 0x1400 /* CANADIAN SYLLABIC HYPHEN */) { in determineHyphenChar()
449 if (hb_font_get_nominal_glyph(font, preferredHyphen, &glyph)) { in determineHyphenChar()
450 return preferredHyphen; in determineHyphenChar()
454 preferredHyphen = CHAR_HYPHEN; in determineHyphenChar()
457 if (preferredHyphen == CHAR_HYPHEN) { /* HYPHEN */ in determineHyphenChar()
461 if (!hb_font_get_nominal_glyph(font, preferredHyphen, &glyph)) { in determineHyphenChar()
465 return preferredHyphen; in determineHyphenChar()