/dports/devel/allegro/allegro-4.4.3.1/src/ |
H A D | fonttxt.c | 33 int begin, end, glyph_pos=32; in load_txt_font() local 95 glyph_pos=get_font_range_begin(f2, -1); in load_txt_font() 106 end = begin + get_font_range_end(f2,-1) - glyph_pos; in load_txt_font() 109 f4=extract_font_range(f2,glyph_pos,glyph_pos + (end - begin)); in load_txt_font() 111 if (f4 && (begin != glyph_pos)) { in load_txt_font() 112 transpose_font(f4, begin - glyph_pos); in load_txt_font() 114 glyph_pos += (end - begin) + 1; in load_txt_font()
|
/dports/cad/openscad/openscad-41f58fe57c03457a3a8b4dc541ef5654ec3e8c78/src/ |
H A D | FreetypeRenderer.h | 114 …h glyph, unsigned int idx, hb_glyph_position_t *glyph_pos) : glyph(glyph), idx(idx), glyph_pos(gly… in GlyphData() argument 117 double get_x_offset() const { return glyph_pos->x_offset * unscale; }; in get_x_offset() 118 double get_y_offset() const { return glyph_pos->y_offset * unscale; }; in get_y_offset() 119 double get_x_advance() const { return glyph_pos->x_advance * unscale; }; in get_x_advance() 120 double get_y_advance() const { return glyph_pos->y_advance * unscale; }; in get_y_advance() 124 hb_glyph_position_t *glyph_pos; variable
|
/dports/cad/openscad-devel/openscad-63a7c77740030c63d646eb0684ba6947eecb0db7/src/ |
H A D | FreetypeRenderer.h | 114 …h glyph, unsigned int idx, hb_glyph_position_t *glyph_pos) : glyph(glyph), idx(idx), glyph_pos(gly… in GlyphData() argument 117 double get_x_offset() const { return glyph_pos->x_offset * unscale; }; in get_x_offset() 118 double get_y_offset() const { return glyph_pos->y_offset * unscale; }; in get_y_offset() 119 double get_x_advance() const { return glyph_pos->x_advance * unscale; }; in get_x_advance() 120 double get_y_advance() const { return glyph_pos->y_advance * unscale; }; in get_y_advance() 124 hb_glyph_position_t *glyph_pos; variable
|
/dports/graphics/freetype-gl/freetype-gl-647b062/demos/ |
H A D | harfbuzz.c | 76 hb_glyph_position_t *glyph_pos = in init() local 90 float x_advance = glyph_pos[j].x_advance/(float)(hres*64); in init() 91 float x_offset = glyph_pos[j].x_offset/(float)(hres*64); in init() 104 float x_advance = glyph_pos[j].x_advance/(float)(hres*64); in init() 105 float x_offset = glyph_pos[j].x_offset/(float)(hres*64); in init() 106 float y_advance = glyph_pos[j].y_advance/(float)(64); in init() 107 float y_offset = glyph_pos[j].y_offset/(float)(64); in init()
|
/dports/graphics/cegui/cegui-0.8.7/cegui/src/ |
H A D | Font.cpp | 254 Vector2f glyph_pos(position); in drawText() local 262 glyph_pos.d_y = in drawText() 264 img->render(buffer, glyph_pos, in drawText() 266 glyph_pos.d_x += glyph->getAdvance(x_scale); in drawText() 269 glyph_pos.d_x += space_extra; in drawText() 273 return glyph_pos.d_x; in drawText()
|
/dports/converters/wkhtmltopdf/qt-5db36ec/src/gui/text/ |
H A D | qfontengine_win.cpp | 257 int glyph_pos = 0; local 263 for (; i < numChars; ++i, ++glyph_pos) { 270 for (; i < numChars; ++i, ++glyph_pos) { 279 for (; i < numChars; ++i, ++glyph_pos) { 286 glyphs->glyphs[glyph_pos] = ucs; 288 glyphs->glyphs[glyph_pos] = 0; 296 for (; i < numChars; ++i, ++glyph_pos) { 319 glyphs->glyphs[glyph_pos] = uc; 321 glyphs->glyphs[glyph_pos] = 0; 325 glyphs->numGlyphs = glyph_pos; [all …]
|
/dports/databases/qt5-sqldrivers-sqlite3/kde-qtbase-5.15.2p263/src/gui/text/ |
H A D | qfontengine_qpf2.cpp | 352 int glyph_pos = 0; in stringToCMap() local 357 glyphs->glyphs[glyph_pos] = getTrueTypeGlyphIndex(cmap, cmapSize, uc); in stringToCMap() 358 if(!glyphs->glyphs[glyph_pos] && uc < 0x100) in stringToCMap() 359 glyphs->glyphs[glyph_pos] = getTrueTypeGlyphIndex(cmap, cmapSize, uc + 0xf000); in stringToCMap() 360 ++glyph_pos; in stringToCMap() 366 glyphs->glyphs[glyph_pos] = getTrueTypeGlyphIndex(cmap, cmapSize, uc); in stringToCMap() 369 if (!findGlyph(glyphs[glyph_pos].glyph) && !seenGlyphs.contains(c)) in stringToCMap() 370 …< "glyph for character" << c << '/' << Qt::hex << uc << "is" << Qt::dec << glyphs[glyph_pos].glyph; in stringToCMap() 374 ++glyph_pos; in stringToCMap() 378 *nglyphs = glyph_pos; in stringToCMap() [all …]
|
/dports/databases/qt5-sqldrivers-sqlite2/kde-qtbase-5.15.2p263/src/gui/text/ |
H A D | qfontengine_qpf2.cpp | 352 int glyph_pos = 0; in stringToCMap() local 357 glyphs->glyphs[glyph_pos] = getTrueTypeGlyphIndex(cmap, cmapSize, uc); in stringToCMap() 358 if(!glyphs->glyphs[glyph_pos] && uc < 0x100) in stringToCMap() 359 glyphs->glyphs[glyph_pos] = getTrueTypeGlyphIndex(cmap, cmapSize, uc + 0xf000); in stringToCMap() 360 ++glyph_pos; in stringToCMap() 366 glyphs->glyphs[glyph_pos] = getTrueTypeGlyphIndex(cmap, cmapSize, uc); in stringToCMap() 369 if (!findGlyph(glyphs[glyph_pos].glyph) && !seenGlyphs.contains(c)) in stringToCMap() 370 …< "glyph for character" << c << '/' << Qt::hex << uc << "is" << Qt::dec << glyphs[glyph_pos].glyph; in stringToCMap() 374 ++glyph_pos; in stringToCMap() 378 *nglyphs = glyph_pos; in stringToCMap() [all …]
|
/dports/databases/qt5-sqldrivers-tds/kde-qtbase-5.15.2p263/src/gui/text/ |
H A D | qfontengine_qpf2.cpp | 352 int glyph_pos = 0; in stringToCMap() local 357 glyphs->glyphs[glyph_pos] = getTrueTypeGlyphIndex(cmap, cmapSize, uc); in stringToCMap() 358 if(!glyphs->glyphs[glyph_pos] && uc < 0x100) in stringToCMap() 359 glyphs->glyphs[glyph_pos] = getTrueTypeGlyphIndex(cmap, cmapSize, uc + 0xf000); in stringToCMap() 360 ++glyph_pos; in stringToCMap() 366 glyphs->glyphs[glyph_pos] = getTrueTypeGlyphIndex(cmap, cmapSize, uc); in stringToCMap() 369 if (!findGlyph(glyphs[glyph_pos].glyph) && !seenGlyphs.contains(c)) in stringToCMap() 370 …< "glyph for character" << c << '/' << Qt::hex << uc << "is" << Qt::dec << glyphs[glyph_pos].glyph; in stringToCMap() 374 ++glyph_pos; in stringToCMap() 378 *nglyphs = glyph_pos; in stringToCMap() [all …]
|
/dports/databases/qt5-sql/kde-qtbase-5.15.2p263/src/gui/text/ |
H A D | qfontengine_qpf2.cpp | 352 int glyph_pos = 0; in stringToCMap() local 357 glyphs->glyphs[glyph_pos] = getTrueTypeGlyphIndex(cmap, cmapSize, uc); in stringToCMap() 358 if(!glyphs->glyphs[glyph_pos] && uc < 0x100) in stringToCMap() 359 glyphs->glyphs[glyph_pos] = getTrueTypeGlyphIndex(cmap, cmapSize, uc + 0xf000); in stringToCMap() 360 ++glyph_pos; in stringToCMap() 366 glyphs->glyphs[glyph_pos] = getTrueTypeGlyphIndex(cmap, cmapSize, uc); in stringToCMap() 369 if (!findGlyph(glyphs[glyph_pos].glyph) && !seenGlyphs.contains(c)) in stringToCMap() 370 …< "glyph for character" << c << '/' << Qt::hex << uc << "is" << Qt::dec << glyphs[glyph_pos].glyph; in stringToCMap() 374 ++glyph_pos; in stringToCMap() 378 *nglyphs = glyph_pos; in stringToCMap() [all …]
|
/dports/databases/qt5-sqldrivers-ibase/kde-qtbase-5.15.2p263/src/gui/text/ |
H A D | qfontengine_qpf2.cpp | 352 int glyph_pos = 0; in stringToCMap() local 357 glyphs->glyphs[glyph_pos] = getTrueTypeGlyphIndex(cmap, cmapSize, uc); in stringToCMap() 358 if(!glyphs->glyphs[glyph_pos] && uc < 0x100) in stringToCMap() 359 glyphs->glyphs[glyph_pos] = getTrueTypeGlyphIndex(cmap, cmapSize, uc + 0xf000); in stringToCMap() 360 ++glyph_pos; in stringToCMap() 366 glyphs->glyphs[glyph_pos] = getTrueTypeGlyphIndex(cmap, cmapSize, uc); in stringToCMap() 369 if (!findGlyph(glyphs[glyph_pos].glyph) && !seenGlyphs.contains(c)) in stringToCMap() 370 …< "glyph for character" << c << '/' << Qt::hex << uc << "is" << Qt::dec << glyphs[glyph_pos].glyph; in stringToCMap() 374 ++glyph_pos; in stringToCMap() 378 *nglyphs = glyph_pos; in stringToCMap() [all …]
|
/dports/databases/qt5-sqldrivers-odbc/kde-qtbase-5.15.2p263/src/gui/text/ |
H A D | qfontengine_qpf2.cpp | 352 int glyph_pos = 0; in stringToCMap() local 357 glyphs->glyphs[glyph_pos] = getTrueTypeGlyphIndex(cmap, cmapSize, uc); in stringToCMap() 358 if(!glyphs->glyphs[glyph_pos] && uc < 0x100) in stringToCMap() 359 glyphs->glyphs[glyph_pos] = getTrueTypeGlyphIndex(cmap, cmapSize, uc + 0xf000); in stringToCMap() 360 ++glyph_pos; in stringToCMap() 366 glyphs->glyphs[glyph_pos] = getTrueTypeGlyphIndex(cmap, cmapSize, uc); in stringToCMap() 369 if (!findGlyph(glyphs[glyph_pos].glyph) && !seenGlyphs.contains(c)) in stringToCMap() 370 …< "glyph for character" << c << '/' << Qt::hex << uc << "is" << Qt::dec << glyphs[glyph_pos].glyph; in stringToCMap() 374 ++glyph_pos; in stringToCMap() 378 *nglyphs = glyph_pos; in stringToCMap() [all …]
|
/dports/databases/qt5-sqldrivers-pgsql/kde-qtbase-5.15.2p263/src/gui/text/ |
H A D | qfontengine_qpf2.cpp | 352 int glyph_pos = 0; in stringToCMap() local 357 glyphs->glyphs[glyph_pos] = getTrueTypeGlyphIndex(cmap, cmapSize, uc); in stringToCMap() 358 if(!glyphs->glyphs[glyph_pos] && uc < 0x100) in stringToCMap() 359 glyphs->glyphs[glyph_pos] = getTrueTypeGlyphIndex(cmap, cmapSize, uc + 0xf000); in stringToCMap() 360 ++glyph_pos; in stringToCMap() 366 glyphs->glyphs[glyph_pos] = getTrueTypeGlyphIndex(cmap, cmapSize, uc); in stringToCMap() 369 if (!findGlyph(glyphs[glyph_pos].glyph) && !seenGlyphs.contains(c)) in stringToCMap() 370 …< "glyph for character" << c << '/' << Qt::hex << uc << "is" << Qt::dec << glyphs[glyph_pos].glyph; in stringToCMap() 374 ++glyph_pos; in stringToCMap() 378 *nglyphs = glyph_pos; in stringToCMap() [all …]
|
/dports/databases/qt5-sqldrivers-mysql/kde-qtbase-5.15.2p263/src/gui/text/ |
H A D | qfontengine_qpf2.cpp | 352 int glyph_pos = 0; in stringToCMap() local 357 glyphs->glyphs[glyph_pos] = getTrueTypeGlyphIndex(cmap, cmapSize, uc); in stringToCMap() 358 if(!glyphs->glyphs[glyph_pos] && uc < 0x100) in stringToCMap() 359 glyphs->glyphs[glyph_pos] = getTrueTypeGlyphIndex(cmap, cmapSize, uc + 0xf000); in stringToCMap() 360 ++glyph_pos; in stringToCMap() 366 glyphs->glyphs[glyph_pos] = getTrueTypeGlyphIndex(cmap, cmapSize, uc); in stringToCMap() 369 if (!findGlyph(glyphs[glyph_pos].glyph) && !seenGlyphs.contains(c)) in stringToCMap() 370 …< "glyph for character" << c << '/' << Qt::hex << uc << "is" << Qt::dec << glyphs[glyph_pos].glyph; in stringToCMap() 374 ++glyph_pos; in stringToCMap() 378 *nglyphs = glyph_pos; in stringToCMap() [all …]
|
/dports/net/qt5-network/kde-qtbase-5.15.2p263/src/gui/text/ |
H A D | qfontengine_qpf2.cpp | 352 int glyph_pos = 0; in stringToCMap() local 357 glyphs->glyphs[glyph_pos] = getTrueTypeGlyphIndex(cmap, cmapSize, uc); in stringToCMap() 358 if(!glyphs->glyphs[glyph_pos] && uc < 0x100) in stringToCMap() 359 glyphs->glyphs[glyph_pos] = getTrueTypeGlyphIndex(cmap, cmapSize, uc + 0xf000); in stringToCMap() 360 ++glyph_pos; in stringToCMap() 366 glyphs->glyphs[glyph_pos] = getTrueTypeGlyphIndex(cmap, cmapSize, uc); in stringToCMap() 369 if (!findGlyph(glyphs[glyph_pos].glyph) && !seenGlyphs.contains(c)) in stringToCMap() 370 …< "glyph for character" << c << '/' << Qt::hex << uc << "is" << Qt::dec << glyphs[glyph_pos].glyph; in stringToCMap() 374 ++glyph_pos; in stringToCMap() 378 *nglyphs = glyph_pos; in stringToCMap() [all …]
|
/dports/textproc/qt5-xml/kde-qtbase-5.15.2p263/src/gui/text/ |
H A D | qfontengine_qpf2.cpp | 352 int glyph_pos = 0; in stringToCMap() local 357 glyphs->glyphs[glyph_pos] = getTrueTypeGlyphIndex(cmap, cmapSize, uc); in stringToCMap() 358 if(!glyphs->glyphs[glyph_pos] && uc < 0x100) in stringToCMap() 359 glyphs->glyphs[glyph_pos] = getTrueTypeGlyphIndex(cmap, cmapSize, uc + 0xf000); in stringToCMap() 360 ++glyph_pos; in stringToCMap() 366 glyphs->glyphs[glyph_pos] = getTrueTypeGlyphIndex(cmap, cmapSize, uc); in stringToCMap() 369 if (!findGlyph(glyphs[glyph_pos].glyph) && !seenGlyphs.contains(c)) in stringToCMap() 370 …< "glyph for character" << c << '/' << Qt::hex << uc << "is" << Qt::dec << glyphs[glyph_pos].glyph; in stringToCMap() 374 ++glyph_pos; in stringToCMap() 378 *nglyphs = glyph_pos; in stringToCMap() [all …]
|
/dports/x11-toolkits/qt5-widgets/kde-qtbase-5.15.2p263/src/gui/text/ |
H A D | qfontengine_qpf2.cpp | 352 int glyph_pos = 0; in stringToCMap() local 357 glyphs->glyphs[glyph_pos] = getTrueTypeGlyphIndex(cmap, cmapSize, uc); in stringToCMap() 358 if(!glyphs->glyphs[glyph_pos] && uc < 0x100) in stringToCMap() 359 glyphs->glyphs[glyph_pos] = getTrueTypeGlyphIndex(cmap, cmapSize, uc + 0xf000); in stringToCMap() 360 ++glyph_pos; in stringToCMap() 366 glyphs->glyphs[glyph_pos] = getTrueTypeGlyphIndex(cmap, cmapSize, uc); in stringToCMap() 369 if (!findGlyph(glyphs[glyph_pos].glyph) && !seenGlyphs.contains(c)) in stringToCMap() 370 …< "glyph for character" << c << '/' << Qt::hex << uc << "is" << Qt::dec << glyphs[glyph_pos].glyph; in stringToCMap() 374 ++glyph_pos; in stringToCMap() 378 *nglyphs = glyph_pos; in stringToCMap() [all …]
|
/dports/x11-toolkits/qt5-gui/kde-qtbase-5.15.2p263/src/gui/text/ |
H A D | qfontengine_qpf2.cpp | 352 int glyph_pos = 0; in stringToCMap() local 357 glyphs->glyphs[glyph_pos] = getTrueTypeGlyphIndex(cmap, cmapSize, uc); in stringToCMap() 358 if(!glyphs->glyphs[glyph_pos] && uc < 0x100) in stringToCMap() 359 glyphs->glyphs[glyph_pos] = getTrueTypeGlyphIndex(cmap, cmapSize, uc + 0xf000); in stringToCMap() 360 ++glyph_pos; in stringToCMap() 366 glyphs->glyphs[glyph_pos] = getTrueTypeGlyphIndex(cmap, cmapSize, uc); in stringToCMap() 369 if (!findGlyph(glyphs[glyph_pos].glyph) && !seenGlyphs.contains(c)) in stringToCMap() 370 …< "glyph for character" << c << '/' << Qt::hex << uc << "is" << Qt::dec << glyphs[glyph_pos].glyph; in stringToCMap() 374 ++glyph_pos; in stringToCMap() 378 *nglyphs = glyph_pos; in stringToCMap() [all …]
|
/dports/devel/qt5-testlib/kde-qtbase-5.15.2p263/src/gui/text/ |
H A D | qfontengine_qpf2.cpp | 352 int glyph_pos = 0; in stringToCMap() local 357 glyphs->glyphs[glyph_pos] = getTrueTypeGlyphIndex(cmap, cmapSize, uc); in stringToCMap() 358 if(!glyphs->glyphs[glyph_pos] && uc < 0x100) in stringToCMap() 359 glyphs->glyphs[glyph_pos] = getTrueTypeGlyphIndex(cmap, cmapSize, uc + 0xf000); in stringToCMap() 360 ++glyph_pos; in stringToCMap() 366 glyphs->glyphs[glyph_pos] = getTrueTypeGlyphIndex(cmap, cmapSize, uc); in stringToCMap() 369 if (!findGlyph(glyphs[glyph_pos].glyph) && !seenGlyphs.contains(c)) in stringToCMap() 370 …< "glyph for character" << c << '/' << Qt::hex << uc << "is" << Qt::dec << glyphs[glyph_pos].glyph; in stringToCMap() 374 ++glyph_pos; in stringToCMap() 378 *nglyphs = glyph_pos; in stringToCMap() [all …]
|
/dports/devel/qt5-concurrent/kde-qtbase-5.15.2p263/src/gui/text/ |
H A D | qfontengine_qpf2.cpp | 352 int glyph_pos = 0; in stringToCMap() local 357 glyphs->glyphs[glyph_pos] = getTrueTypeGlyphIndex(cmap, cmapSize, uc); in stringToCMap() 358 if(!glyphs->glyphs[glyph_pos] && uc < 0x100) in stringToCMap() 359 glyphs->glyphs[glyph_pos] = getTrueTypeGlyphIndex(cmap, cmapSize, uc + 0xf000); in stringToCMap() 360 ++glyph_pos; in stringToCMap() 366 glyphs->glyphs[glyph_pos] = getTrueTypeGlyphIndex(cmap, cmapSize, uc); in stringToCMap() 369 if (!findGlyph(glyphs[glyph_pos].glyph) && !seenGlyphs.contains(c)) in stringToCMap() 370 …< "glyph for character" << c << '/' << Qt::hex << uc << "is" << Qt::dec << glyphs[glyph_pos].glyph; in stringToCMap() 374 ++glyph_pos; in stringToCMap() 378 *nglyphs = glyph_pos; in stringToCMap() [all …]
|
/dports/devel/qt5-buildtools/kde-qtbase-5.15.2p263/src/gui/text/ |
H A D | qfontengine_qpf2.cpp | 352 int glyph_pos = 0; in stringToCMap() local 357 glyphs->glyphs[glyph_pos] = getTrueTypeGlyphIndex(cmap, cmapSize, uc); in stringToCMap() 358 if(!glyphs->glyphs[glyph_pos] && uc < 0x100) in stringToCMap() 359 glyphs->glyphs[glyph_pos] = getTrueTypeGlyphIndex(cmap, cmapSize, uc + 0xf000); in stringToCMap() 360 ++glyph_pos; in stringToCMap() 366 glyphs->glyphs[glyph_pos] = getTrueTypeGlyphIndex(cmap, cmapSize, uc); in stringToCMap() 369 if (!findGlyph(glyphs[glyph_pos].glyph) && !seenGlyphs.contains(c)) in stringToCMap() 370 …< "glyph for character" << c << '/' << Qt::hex << uc << "is" << Qt::dec << glyphs[glyph_pos].glyph; in stringToCMap() 374 ++glyph_pos; in stringToCMap() 378 *nglyphs = glyph_pos; in stringToCMap() [all …]
|
/dports/devel/qt5-dbus/kde-qtbase-5.15.2p263/src/gui/text/ |
H A D | qfontengine_qpf2.cpp | 352 int glyph_pos = 0; in stringToCMap() local 357 glyphs->glyphs[glyph_pos] = getTrueTypeGlyphIndex(cmap, cmapSize, uc); in stringToCMap() 358 if(!glyphs->glyphs[glyph_pos] && uc < 0x100) in stringToCMap() 359 glyphs->glyphs[glyph_pos] = getTrueTypeGlyphIndex(cmap, cmapSize, uc + 0xf000); in stringToCMap() 360 ++glyph_pos; in stringToCMap() 366 glyphs->glyphs[glyph_pos] = getTrueTypeGlyphIndex(cmap, cmapSize, uc); in stringToCMap() 369 if (!findGlyph(glyphs[glyph_pos].glyph) && !seenGlyphs.contains(c)) in stringToCMap() 370 …< "glyph for character" << c << '/' << Qt::hex << uc << "is" << Qt::dec << glyphs[glyph_pos].glyph; in stringToCMap() 374 ++glyph_pos; in stringToCMap() 378 *nglyphs = glyph_pos; in stringToCMap() [all …]
|
/dports/devel/qt5-qmake/kde-qtbase-5.15.2p263/src/gui/text/ |
H A D | qfontengine_qpf2.cpp | 352 int glyph_pos = 0; in stringToCMap() local 357 glyphs->glyphs[glyph_pos] = getTrueTypeGlyphIndex(cmap, cmapSize, uc); in stringToCMap() 358 if(!glyphs->glyphs[glyph_pos] && uc < 0x100) in stringToCMap() 359 glyphs->glyphs[glyph_pos] = getTrueTypeGlyphIndex(cmap, cmapSize, uc + 0xf000); in stringToCMap() 360 ++glyph_pos; in stringToCMap() 366 glyphs->glyphs[glyph_pos] = getTrueTypeGlyphIndex(cmap, cmapSize, uc); in stringToCMap() 369 if (!findGlyph(glyphs[glyph_pos].glyph) && !seenGlyphs.contains(c)) in stringToCMap() 370 …< "glyph for character" << c << '/' << Qt::hex << uc << "is" << Qt::dec << glyphs[glyph_pos].glyph; in stringToCMap() 374 ++glyph_pos; in stringToCMap() 378 *nglyphs = glyph_pos; in stringToCMap() [all …]
|
/dports/print/qt5-printsupport/kde-qtbase-5.15.2p263/src/gui/text/ |
H A D | qfontengine_qpf2.cpp | 352 int glyph_pos = 0; in stringToCMap() local 357 glyphs->glyphs[glyph_pos] = getTrueTypeGlyphIndex(cmap, cmapSize, uc); in stringToCMap() 358 if(!glyphs->glyphs[glyph_pos] && uc < 0x100) in stringToCMap() 359 glyphs->glyphs[glyph_pos] = getTrueTypeGlyphIndex(cmap, cmapSize, uc + 0xf000); in stringToCMap() 360 ++glyph_pos; in stringToCMap() 366 glyphs->glyphs[glyph_pos] = getTrueTypeGlyphIndex(cmap, cmapSize, uc); in stringToCMap() 369 if (!findGlyph(glyphs[glyph_pos].glyph) && !seenGlyphs.contains(c)) in stringToCMap() 370 …< "glyph for character" << c << '/' << Qt::hex << uc << "is" << Qt::dec << glyphs[glyph_pos].glyph; in stringToCMap() 374 ++glyph_pos; in stringToCMap() 378 *nglyphs = glyph_pos; in stringToCMap() [all …]
|
/dports/graphics/qt5-opengl/kde-qtbase-5.15.2p263/src/gui/text/ |
H A D | qfontengine_qpf2.cpp | 352 int glyph_pos = 0; in stringToCMap() local 357 glyphs->glyphs[glyph_pos] = getTrueTypeGlyphIndex(cmap, cmapSize, uc); in stringToCMap() 358 if(!glyphs->glyphs[glyph_pos] && uc < 0x100) in stringToCMap() 359 glyphs->glyphs[glyph_pos] = getTrueTypeGlyphIndex(cmap, cmapSize, uc + 0xf000); in stringToCMap() 360 ++glyph_pos; in stringToCMap() 366 glyphs->glyphs[glyph_pos] = getTrueTypeGlyphIndex(cmap, cmapSize, uc); in stringToCMap() 369 if (!findGlyph(glyphs[glyph_pos].glyph) && !seenGlyphs.contains(c)) in stringToCMap() 370 …< "glyph for character" << c << '/' << Qt::hex << uc << "is" << Qt::dec << glyphs[glyph_pos].glyph; in stringToCMap() 374 ++glyph_pos; in stringToCMap() 378 *nglyphs = glyph_pos; in stringToCMap() [all …]
|