Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/sfntly/cpp/src/sfntly/table/truetype/
Dglyph_table.cc34 const int32_t GlyphTable::CompositeGlyph::kFLAG_ARG_1_AND_2_ARE_WORDS = 1 << 0;
35 const int32_t GlyphTable::CompositeGlyph::kFLAG_ARGS_ARE_XY_VALUES = 1 << 1;
36 const int32_t GlyphTable::CompositeGlyph::kFLAG_ROUND_XY_TO_GRID = 1 << 2;
37 const int32_t GlyphTable::CompositeGlyph::kFLAG_WE_HAVE_A_SCALE = 1 << 3;
38 const int32_t GlyphTable::CompositeGlyph::kFLAG_RESERVED = 1 << 4;
39 const int32_t GlyphTable::CompositeGlyph::kFLAG_MORE_COMPONENTS = 1 << 5;
40 const int32_t GlyphTable::CompositeGlyph::kFLAG_WE_HAVE_AN_X_AND_Y_SCALE = 1 << 6;
41 const int32_t GlyphTable::CompositeGlyph::kFLAG_WE_HAVE_A_TWO_BY_TWO = 1 << 7;
42 const int32_t GlyphTable::CompositeGlyph::kFLAG_WE_HAVE_INSTRUCTIONS = 1 << 8;
43 const int32_t GlyphTable::CompositeGlyph::kFLAG_USE_MY_METRICS = 1 << 9;
[all …]
Dglyph_table.h228 class CompositeGlyph : public Glyph, public RefCounted<CompositeGlyph> {
264 explicit CompositeGlyph(ReadableFontData* data);
265 virtual ~CompositeGlyph();
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/tools/subsetter/
DGlyphStripper.java21 import com.google.typography.font.sfntly.table.truetype.CompositeGlyph;
111 CompositeGlyph compositeGlyph = (CompositeGlyph) glyph; in stripCompositeGlyph()
123 int flags = CompositeGlyph.FLAG_MORE_COMPONENTS; in overrideCompositeGlyfFlags()
124 while ((flags & CompositeGlyph.FLAG_MORE_COMPONENTS) != 0) { in overrideCompositeGlyfFlags()
126 flags &= ~CompositeGlyph.FLAG_WE_HAVE_INSTRUCTIONS; in overrideCompositeGlyfFlags()
129 if ((flags & CompositeGlyph.FLAG_ARG_1_AND_2_ARE_WORDS) != 0) { in overrideCompositeGlyfFlags()
134 if ((flags & CompositeGlyph.FLAG_WE_HAVE_A_SCALE) != 0) { in overrideCompositeGlyfFlags()
136 } else if ((flags & CompositeGlyph.FLAG_WE_HAVE_AN_X_AND_Y_SCALE) != 0) { in overrideCompositeGlyfFlags()
138 } else if ((flags & CompositeGlyph.FLAG_WE_HAVE_A_TWO_BY_TWO) != 0) { in overrideCompositeGlyfFlags()
163 CompositeGlyph compositeGlyph = (CompositeGlyph) glyph; in computeCompositeStrippedGlyphSize()
DGlyphRenumberer.java21 import com.google.typography.font.sfntly.table.truetype.CompositeGlyph;
87 int flags = CompositeGlyph.FLAG_MORE_COMPONENTS; in renumberCompositeGlyph()
90 while ((flags & CompositeGlyph.FLAG_MORE_COMPONENTS) != 0) { in renumberCompositeGlyph()
105 if ((flags & CompositeGlyph.FLAG_ARG_1_AND_2_ARE_WORDS) != 0) { in compositeReferenceSize()
108 if ((flags & CompositeGlyph.FLAG_WE_HAVE_A_SCALE) != 0) { in compositeReferenceSize()
110 } else if ((flags & CompositeGlyph.FLAG_WE_HAVE_AN_X_AND_Y_SCALE) != 0) { in compositeReferenceSize()
112 } else if ((flags & CompositeGlyph.FLAG_WE_HAVE_A_TWO_BY_TWO) != 0) { in compositeReferenceSize()
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/sample/sflint/
DSFLint.java28 import com.google.typography.font.sfntly.table.truetype.CompositeGlyph;
175 private void lintCompositeGlyph(Font font, CompositeGlyph glyph, int glyphId) { in lintCompositeGlyph()
176 final int VAR_FLAGS = CompositeGlyph.FLAG_WE_HAVE_A_SCALE | in lintCompositeGlyph()
177 CompositeGlyph.FLAG_WE_HAVE_AN_X_AND_Y_SCALE | in lintCompositeGlyph()
178 CompositeGlyph.FLAG_WE_HAVE_A_TWO_BY_TWO; in lintCompositeGlyph()
179 final int MASK = ~(CompositeGlyph.FLAG_MORE_COMPONENTS | in lintCompositeGlyph()
180 CompositeGlyph.FLAG_WE_HAVE_INSTRUCTIONS | in lintCompositeGlyph()
181 CompositeGlyph.FLAG_USE_MY_METRICS); in lintCompositeGlyph()
207 lintCompositeGlyph(font, (CompositeGlyph)glyph, glyphId); in lintAllGlyphs()
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/table/truetype/
DCompositeGlyph.java10 public final class CompositeGlyph extends Glyph { class
29 protected CompositeGlyph(ReadableFontData data, int offset, int length) { in CompositeGlyph() method in CompositeGlyph
34 protected CompositeGlyph(ReadableFontData data) { in CompositeGlyph() method in CompositeGlyph
169 public static class CompositeGlyphBuilder extends Glyph.Builder<CompositeGlyph> {
179 protected CompositeGlyph subBuildTable(ReadableFontData data) { in subBuildTable()
180 return new CompositeGlyph(data); in subBuildTable()
DGlyph.java77 return new CompositeGlyph(data, offset, length); in getGlyph()
186 return new CompositeGlyph.CompositeGlyphBuilder(data, offset, length); in getBuilder()
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/tools/conversion/eot/
DGlyfEncoder.java22 import com.google.typography.font.sfntly.table.truetype.CompositeGlyph;
77 } else if (glyph instanceof CompositeGlyph) { in writeGlyph()
78 writeCompositeGlyph((CompositeGlyph)glyph); in writeGlyph()
126 private void writeCompositeGlyph(CompositeGlyph glyph) throws IOException { in writeCompositeGlyph()
136 haveInstructions = (flags & CompositeGlyph.FLAG_WE_HAVE_INSTRUCTIONS) != 0; in writeCompositeGlyph()
138 if ((flags & CompositeGlyph.FLAG_ARG_1_AND_2_ARE_WORDS) == 0) { in writeCompositeGlyph()
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/tools/sfnttool/
DGlyphCoverage.java24 import com.google.typography.font.sfntly.table.truetype.CompositeGlyph;
66 CompositeGlyph composite = (CompositeGlyph) glyph; in touchGlyph()
/third_party/skia/third_party/externals/sfntly/java/test/com/google/typography/font/tools/subsetter/
DHintStripTest.java26 import com.google.typography.font.sfntly.table.truetype.CompositeGlyph;
137 CompositeGlyph composite = (CompositeGlyph) glyph; in testCompositeGlyph()
DRenumberingSubsetTest.java28 import com.google.typography.font.sfntly.table.truetype.CompositeGlyph;
162 CompositeGlyph composite = (CompositeGlyph) glyph; in testCompositeGlyph()
/third_party/skia/third_party/externals/harfbuzz/src/
Dhb-ot-glyf-table.hh672 struct CompositeGlyph struct
676 CompositeGlyph (const GlyphHeader &header_, hb_bytes_t bytes_) : in CompositeGlyph() argument
724 return CompositeGlyph (*header, bytes).get_iterator (); in get_composite_iterator()
730 case COMPOSITE: return CompositeGlyph (*header, bytes).trim_padding (); in trim_padding()
739 case COMPOSITE: CompositeGlyph (*header, bytes).drop_hints (); return; in drop_hints()
748 case COMPOSITE: CompositeGlyph (*header, bytes).set_overlaps_flag (); return; in set_overlaps_flag()
757 case COMPOSITE: CompositeGlyph (*header, bytes).drop_hints_bytes (dest_start); return; in drop_hints_bytes()
778 unsigned num_points = hb_len (CompositeGlyph (*header, bytes).get_iterator ()); in get_points()
/third_party/skia/third_party/externals/sfntly/cpp/src/sample/subtly/
Dfont_info.cc241 Ptr<GlyphTable::CompositeGlyph> composite_glyph = in ResolveCompositeGlyphs()
242 down_cast<GlyphTable::CompositeGlyph*>(glyph.p_); in ResolveCompositeGlyphs()
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/tools/fontinfo/
DFontInfo.java25 import com.google.typography.font.sfntly.table.truetype.CompositeGlyph;
575 CompositeGlyph cGlyph = (CompositeGlyph) glyph; in listSubglyphFrequency()
/third_party/skia/third_party/externals/sfntly/cpp/src/sample/chromium/
Dsubsetter_impl.cc207 Ptr<GlyphTable::CompositeGlyph> comp_glyph = in ResolveCompositeGlyphs()
208 down_cast<GlyphTable::CompositeGlyph*>(glyph.p_); in ResolveCompositeGlyphs()
/third_party/skia/third_party/externals/harfbuzz/perf/texts/
Den-words.txt2103 CompositeGlyph