/external/skqp/gm/ |
textblobshader.cpp | 45 memcpy(run->glyphs, fGlyphs.begin(), glyphCount * sizeof(uint16_t)); 48 memcpy(run->glyphs, fGlyphs.begin(), glyphCount * sizeof(uint16_t)); 54 memcpy(run->glyphs, fGlyphs.begin(), glyphCount * sizeof(uint16_t));
|
typeface.cpp | 21 static void getGlyphPositions(const SkFont& font, const uint16_t glyphs[], 25 font.getWidths(glyphs, count, widths); 53 uint16_t* glyphs = glyphStorage.get(); local 54 int glyphCount = font.textToGlyphs(text, len, kUTF8_SkTextEncoding, glyphs, len); 61 if (!face->getKerningPairAdjustments(glyphs, glyphCount, adjustments)) { 69 memcpy(rec.glyphs, glyphs, glyphCount * sizeof(SkGlyphID)); 70 getGlyphPositions(font, glyphs, glyphCount, x, y, rec.points());
|
/external/skqp/tests/ |
TextBlobTest.cpp | 165 font.textToGlyphs(txt, txtLen, kUTF8_SkTextEncoding, buffer.glyphs, glyphCount); 259 REPORTER_ASSERT(reporter, k % 128 == it.glyphs()[k]); 282 rb.glyphs[i] = i; 289 rb.glyphs[i] = i; 296 rb.glyphs[i] = i; 323 SkAutoTMalloc<uint16_t> glyphs(glyphCount); 324 (void)font.textToGlyphs(text1, strlen(text1), kUTF8_SkTextEncoding, glyphs.get(), glyphCount); 328 memcpy(run.glyphs, glyphs.get(), sizeof(uint16_t) * glyphCount); 339 REPORTER_ASSERT(reporter, it.glyphs()[i] == glyphs[i]) [all...] |
/external/fonttools/Tests/ttLib/tables/ |
_m_o_r_x_test.py | [all...] |
/external/freetype/src/bdf/ |
bdf.h | 63 #define BDF_KEEP_UNENCODED 0x04 /* Keep the unencoded glyphs. */ 165 long start; /* Beginning encoding value of glyphs. */ 166 long end; /* Ending encoding value of glyphs. */ 167 bdf_glyph_t* glyphs; /* Glyphs themselves. */ member in struct:bdf_glyphlist_t_ 170 bdf_bbx_t bbx; /* Overall bounding box of glyphs. */ 195 bdf_glyph_t* glyphs; /* Glyphs themselves. */ member in struct:bdf_font_t_ 199 bdf_glyph_t* unencoded; /* Unencoded glyphs themselves. */ 214 unsigned long nmod[34816]; /* Bitmap indicating modified glyphs. * [all...] |
/external/pdfium/core/fxge/ |
fx_ge_text.cpp | 45 FX_RECT FXGE_GetGlyphsBBox(const std::vector<FXTEXT_GLYPHPOS>& glyphs, 51 for (const FXTEXT_GLYPHPOS& glyph : glyphs) {
|
/external/sfntly/cpp/src/sfntly/tools/subsetter/ |
subsetter.cc | 40 void Subsetter::SetGlyphs(IntegerList* glyphs) { 41 new_to_old_glyphs_ = *glyphs;
|
/external/skia/gm/ |
scaledemoji.cpp | 25 (void)font.textToGlyphs(text, len, enc, buffer.glyphs, glyphCount); 26 font.getXPos(buffer.glyphs, glyphCount, buffer.pos);
|
typeface.cpp | 21 static void getGlyphPositions(const SkFont& font, const uint16_t glyphs[], 25 font.getWidths(glyphs, count, widths); 53 uint16_t* glyphs = glyphStorage.get(); local 54 int glyphCount = font.textToGlyphs(text, len, kUTF8_SkTextEncoding, glyphs, len); 61 if (!face->getKerningPairAdjustments(glyphs, glyphCount, adjustments)) { 69 memcpy(rec.glyphs, glyphs, glyphCount * sizeof(SkGlyphID)); 70 getGlyphPositions(font, glyphs, glyphCount, x, y, rec.points());
|
atlastext.cpp | 35 std::unique_ptr<SkGlyphID[]> glyphs(new SkGlyphID[cnt]); 36 typeface->charsToGlyphs(text.c_str(), SkTypeface::Encoding::kUTF8_Encoding, glyphs.get(), cnt); 43 font.getWidths(glyphs.get(), cnt, widths.get()); 51 target->drawText(glyphs.get(), positions.get(), cnt, color, *atlas_font);
|
skbug_257.cpp | 38 font.textToGlyphs(text, strlen(text), kUTF8_SkTextEncoding, rec.glyphs, count); 39 font.getPos(rec.glyphs, count, rec.points(), {x, y}); 50 font.textToGlyphs(text, strlen(text), kUTF8_SkTextEncoding, rec.glyphs, count); 51 font.getXPos(rec.glyphs, count, rec.pos);
|
/external/skia/src/ports/ |
SkFontHost_FreeType_common.h | 103 bool onGetKerningPairAdjustments(const uint16_t glyphs[], int count, 105 int onCharsToGlyphs(const void* chars, Encoding, uint16_t glyphs[],
|
/external/skqp/src/ports/ |
SkFontHost_FreeType_common.h | 103 bool onGetKerningPairAdjustments(const uint16_t glyphs[], int count, 105 int onCharsToGlyphs(const void* chars, Encoding, uint16_t glyphs[],
|
/external/fonttools/Lib/fontTools/feaLib/ |
builder.py | 515 for glyphs, id_ in sorted(self.markFilterSets_.items(), 517 sets.append(glyphs) 726 def getMarkAttachClass_(self, location, glyphs): 727 glyphs = frozenset(glyphs) 728 id_ = self.markAttachClassID_.get(glyphs) 732 self.markAttachClassID_[glyphs] = id_ 733 for glyph in glyphs: 744 def getMarkFilterSet_(self, location, glyphs): 745 glyphs = frozenset(glyphs [all...] |
parser.py | 178 glyphs = self.parse_glyphclass_(accept_glyphname=True) 183 return self.ast.AttachStatement(glyphs, contourPoints, 223 glyphs = self.parse_glyphclass_(accept_glyphname=False) 225 glyphclass = self.ast.GlyphClassDefinition(name, glyphs, 261 "into a range of known glyphs" % name, location) 290 glyphs = self.ast.GlyphClass(location=location) 297 glyphs.add_range( 304 glyphs.add_range( 308 glyphs.append(glyph) 316 glyphs.add_cid_range(range_start, range_end [all...] |
/external/harfbuzz_ng/src/ |
hb-subset-cff1.cc | 474 subset_enc_num_codes = plan->glyphs.len - 1; 476 for (glyph = 1; glyph < plan->glyphs.len; glyph++) 478 hb_codepoint_t orig_glyph = plan->glyphs[glyph]; 531 for (glyph = 1; glyph < plan->glyphs.len; glyph++) 533 hb_codepoint_t orig_glyph = plan->glyphs[glyph]; 549 size0 = Charset0::min_size + HBUINT16::static_size * (plan->glyphs.len - 1); 564 subset_charset_format? subset_charset_ranges.len: plan->glyphs.len); 594 if ((plan->glyphs.len == 0) || (plan->glyphs[0] != 0)) return false; 597 num_glyphs = plan->glyphs.len [all...] |
hb-ot-layout.h | 111 hb_set_t *glyphs /* OUT */); 319 const hb_codepoint_t *glyphs, 326 hb_set_t *glyphs 332 hb_set_t *glyphs);
|
hb-subset-plan.hh | 48 hb_vector_t<hb_codepoint_t> glyphs; member in struct:hb_subset_plan_t
|
/external/icu/icu4c/source/test/letest/ |
letest.cpp | 61 LEGlyphID *glyphs = NULL; local 71 glyphs = NEW_ARRAY(LEGlyphID, glyphCount + 10); 82 engine->getGlyphs(glyphs, status); 85 log_err("Calling getGlyphs(glyphs, status) on an empty layout did not return LE_NO_LAYOUT_ERROR.\n"); 96 engine->getGlyphs(glyphs, 0xFF000000L, status); 99 log_err("Calling getGlyphs(glyphs, 0xFF000000L, status) on an empty layout did not return LE_NO_LAYOUT_ERROR.\n"); 146 DELETE_ARRAY(glyphs); 247 LEGlyphID glyphs[6], extraBitGlyphs[6];; local 268 engine->getGlyphs(glyphs, status); 283 if (extraBitGlyphs[glyph] != (glyphs[glyph] | 0xFF000000L)) 614 UnicodeString text, glyphs, indices, positions; local [all...] |
/external/skia/src/core/ |
SkTextBlob.cpp | 452 fCurrentRunBuffer.glyphs = run->glyphBuffer() + preMergeCount; 490 fCurrentRunBuffer.glyphs = run->glyphBuffer(); 624 int GetTextIntercepts(const SkFont& font, const SkPaint* paint, const SkGlyphID glyphs[], 626 SkASSERT(glyphCount == 0 || glyphs != nullptr); 629 SkTextInterceptsIter iter(glyphs, glyphCount, font, paint, bounds, pos0.x(), pos0.y(), 652 const SkGlyphID* glyphs = it.glyphs(); local 659 font, paint, glyphs, glyphCount, bounds, runIntervals, [loc] (int) { 667 font, paint, glyphs, glyphCount, bounds, runIntervals, [xpos, constY] (int i) { 674 font, paint, glyphs, glyphCount, bounds, runIntervals, [pos] (int i) [all...] |
/external/skqp/src/core/ |
SkTextBlob.cpp | 452 fCurrentRunBuffer.glyphs = run->glyphBuffer() + preMergeCount; 490 fCurrentRunBuffer.glyphs = run->glyphBuffer(); 624 int GetTextIntercepts(const SkFont& font, const SkPaint* paint, const SkGlyphID glyphs[], 626 SkASSERT(glyphCount == 0 || glyphs != nullptr); 629 SkTextInterceptsIter iter(glyphs, glyphCount, font, paint, bounds, pos0.x(), pos0.y(), 652 const SkGlyphID* glyphs = it.glyphs(); local 659 font, paint, glyphs, glyphCount, bounds, runIntervals, [loc] (int) { 667 font, paint, glyphs, glyphCount, bounds, runIntervals, [xpos, constY] (int i) { 674 font, paint, glyphs, glyphCount, bounds, runIntervals, [pos] (int i) [all...] |
/external/fonttools/Lib/fontTools/ttLib/tables/ |
otTables.py | 481 glyphs = action[start : limit + 1] 482 actionIndex.setdefault(glyphs, startIndex) 512 if not hasattr(self, 'glyphs'): 513 self.glyphs = [] 517 # TODO only allow glyphs that are valid? 518 self.glyphs = rawTable["GlyphArray"] 520 glyphs = self.glyphs = [] 532 assert r.StartCoverageIndex == len(glyphs), \ 533 (r.StartCoverageIndex, len(glyphs)) [all...] |
/external/mesa3d/src/mesa/main/ |
dlist.h | 53 * we're probably drawing bitmap font glyphs. We try to put all the bitmap 54 * glyphs into one texture map then render the glCallLists as a textured 69 struct gl_bitmap_glyph *glyphs; member in struct:gl_bitmap_atlas
|
/external/skia/include/core/ |
SkTypeface.h | 187 * optionally return their corresponding glyph IDs (if glyphs is not NULL). 191 * @param glyphs (optional) returns the corresponding glyph IDs for each 194 * @param glyphCount number of code points in 'chars' to process. If glyphs 199 * glyphs parameter is NULL. 201 int charsToGlyphs(const void* chars, Encoding encoding, SkGlyphID glyphs[], 213 * Return the number of glyphs in the typeface. 264 * Given a run of glyphs, return the associated horizontal adjustments. 275 * If count is non-zero, then the glyphs parameter must point to at least 283 bool getKerningPairAdjustments(const SkGlyphID glyphs[], int count, 335 * of the glyphs, but each one positioned at (0,). This may be conservatively large, an [all...] |
/external/skia/modules/skshaper/include/ |
SkShaper.h | 50 SkGlyphID* glyphs; // required member in struct:SkShaper::RunHandler::Buffer
|