Home
last modified time | relevance | path

Searched refs:Glyph (Results 1 – 25 of 44) sorted by relevance

12

/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/table/truetype/
DGlyphTable.java71 public Glyph glyph(int offset, int length) { in glyph()
72 return Glyph.getGlyph(this, this.data, offset, length); in glyph()
77 private List<Glyph.Builder<? extends Glyph>> glyphBuilders;
132 for (Glyph.Builder<? extends Glyph> b : this.getGlyphBuilders()) { in generateLocaList()
142 this.glyphBuilders = new ArrayList<Glyph.Builder<? extends Glyph>>(); in initialize()
149 this.glyphBuilders.add(Glyph.Builder.getBuilder(this, data, lastLocaValue /* offset */, in initialize()
156 private List<Glyph.Builder<? extends Glyph>> getGlyphBuilders() { in getGlyphBuilders()
185 public List<Glyph.Builder<? extends Glyph>> glyphBuilders() { in glyphBuilders()
200 public void setGlyphBuilders(List<Glyph.Builder<? extends Glyph>> glyphBuilders) { in setGlyphBuilders()
207 public Glyph.Builder<? extends Glyph> glyphBuilder(ReadableFontData data) { in glyphBuilder()
[all …]
DGlyph.java8 public abstract class Glyph extends SubTable { class
20 private final Glyph.GlyphType glyphType;
23 protected Glyph(ReadableFontData data, Glyph.GlyphType glyphType) { in Glyph() method in Glyph
35 protected Glyph(ReadableFontData data, int offset, int length, Glyph.GlyphType glyphType) { in Glyph() method in Glyph
47 private static Glyph.GlyphType glyphType(ReadableFontData data, int offset, int length) { in glyphType()
71 static Glyph getGlyph( in getGlyph()
73 Glyph.GlyphType type = Glyph.glyphType(data, offset, length); in getGlyph()
89 public Glyph.GlyphType glyphType() { in glyphType()
155 public abstract static class Builder<T extends Glyph> extends SubTable.Builder<T> {
175 static Glyph.Builder<? extends Glyph> getBuilder( in getBuilder()
[all …]
DSimpleGlyph.java8 public final class SimpleGlyph extends Glyph {
34 public static final class SimpleContour extends Glyph.Contour {
235 public static class SimpleGlyphBuilder extends Glyph.Builder<SimpleGlyph> {
DCompositeGlyph.java10 public final class CompositeGlyph extends Glyph {
169 public static class CompositeGlyphBuilder extends Glyph.Builder<CompositeGlyph> {
/third_party/skia/third_party/externals/sfntly/cpp/src/sfntly/table/truetype/
Dglyph_table.cc54 GlyphTable::Glyph* GlyphTable::GetGlyph(int32_t offset, int32_t length) { in GetGlyph()
55 return GlyphTable::Glyph::GetGlyph(this, this->data_, offset, length); in GetGlyph()
112 CALLER_ATTACH GlyphTable::Glyph::Builder*
114 return Glyph::Builder::GetBuilder(this, data); in GlyphBuilder()
172 Glyph::Builder::GetBuilder(this, in Initialize()
205 GlyphTable::Glyph::~Glyph() {} in ~Glyph()
207 CALLER_ATTACH GlyphTable::Glyph*
208 GlyphTable::Glyph::GetGlyph(GlyphTable* table, in GetGlyph()
227 int32_t GlyphTable::Glyph::Padding() { in Padding()
232 int32_t GlyphTable::Glyph::GlyphType() { in GlyphType()
[all …]
Dglyph_table.h39 class Glyph : public SubTable {
76 virtual ~Glyph();
77 static CALLER_ATTACH Glyph* GetGlyph(GlyphTable* table,
96 Glyph(ReadableFontData* data, int32_t glyph_type);
108 typedef Ptr<GlyphTable::Glyph::Builder> GlyphBuilderPtr;
143 CALLER_ATTACH Glyph::Builder* GlyphBuilder(ReadableFontData* data);
161 class SimpleGlyph : public Glyph, public RefCounted<SimpleGlyph> {
170 class SimpleContour : public Glyph::Contour {
176 class SimpleGlyphBuilder : public Glyph::Builder,
190 friend class Glyph::Builder;
[all …]
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/tools/subsetter/
DGlyphStripper.java22 import com.google.typography.font.sfntly.table.truetype.Glyph;
38 public Glyph.Builder<? extends Glyph> stripGlyph(Glyph glyph) { in stripGlyph()
58 private WritableFontData stripSimpleGlyph(Glyph glyph) { in stripSimpleGlyph()
108 private WritableFontData stripCompositeGlyph(Glyph glyph) { in stripCompositeGlyph()
144 private int computeSimpleStrippedGlyphSize(Glyph glyph) { in computeSimpleStrippedGlyphSize()
162 private int computeCompositeStrippedGlyphSize(Glyph glyph) { in computeCompositeStrippedGlyphSize()
DGlyphTableSubsetter.java23 import com.google.typography.font.sfntly.table.truetype.Glyph;
72 List<Glyph.Builder<? extends Glyph>> glyphBuilders = glyphTableBuilder.glyphBuilders(); in subset()
78 Glyph glyph = glyphTable.glyph(oldOffset, oldLength); in subset()
81 Glyph.Builder<? extends Glyph> glyphBuilder = glyphTableBuilder.glyphBuilder(renumberedData); in subset()
DGlyphTableStripper.java22 import com.google.typography.font.sfntly.table.truetype.Glyph;
52 List<Glyph.Builder<? extends Glyph>> glyphBuilders = glyphTableBuilder.glyphBuilders(); in subset()
59 Glyph glyph = glyphTable.glyph(oldOffset, oldLength); in subset()
/third_party/skia/samplecode/
DSamplePathText.cpp30 for (Glyph& glyph : fGlyphs) { in reset()
80 struct Glyph { struct in PathText
94 GlyphAnimator(Glyph* glyphs) : fGlyphs(glyphs) {} in GlyphAnimator()
99 Glyph& glyph = fGlyphs[i]; in draw()
111 Glyph* const fGlyphs;
117 Glyph fGlyphs[kNumPaths];
124 void PathText::Glyph::init(SkRandom& rand, const SkPath& path) { in init()
130 void PathText::Glyph::reset(SkRandom& rand, int w, int h) { in reset()
147 MovingGlyphAnimator(Glyph* glyphs) in MovingGlyphAnimator()
195 Glyph* glyph = &fGlyphs[idx]; in runAnimationTask()
[all …]
/third_party/skia/third_party/externals/sfntly/java/test/com/google/typography/font/sfntly/issue_tests/
DIssue28Tests.java6 import com.google.typography.font.sfntly.table.truetype.Glyph;
37 private static Glyph getLastGlyph(Font font) { in getLastGlyph()
68 Glyph byteGlyph = getLastGlyph(byteFont); in testStreamVsBytes()
81 Glyph streamGlyph = getLastGlyph(streamFont); in testStreamVsBytes()
/third_party/skia/third_party/externals/sfntly/java/test/com/google/typography/font/tools/subsetter/
DHintStripTest.java27 import com.google.typography.font.sfntly.table.truetype.Glyph;
28 import com.google.typography.font.sfntly.table.truetype.Glyph.GlyphType;
101 Glyph glyph = getGlyph(dstFont, 67); in testSimpleGlyph1()
122 Glyph glyph = getGlyph(dstFont, 68); in testSimpleGlyph2()
135 Glyph glyph = getGlyph(dstFont, 162); in testCompositeGlyph()
156 private static Glyph getGlyph(Font font, int glyphId) { in getGlyph()
DRenumberingSubsetTest.java29 import com.google.typography.font.sfntly.table.truetype.Glyph;
30 import com.google.typography.font.sfntly.table.truetype.Glyph.GlyphType;
126 Glyph glyph = getGlyph(dstFont, 1); in testSimpleGlyph1()
147 Glyph glyph = getGlyph(dstFont, 2); in testSimpleGlyph2()
160 Glyph glyph = getGlyph(dstFont, 3); in testCompositeGlyph()
181 private static Glyph getGlyph(Font font, int glyphId) { in getGlyph()
/third_party/skia/third_party/externals/harfbuzz/src/
Dhb-ot-glyf-table.hh218 subset_glyph.source_glyph = Glyph (); in _populate_subset_glyphs()
456 struct Glyph struct
525 const Glyph trim_padding () const in trim_padding()
533 if (unlikely (glyph + 2 >= glyph_end)) return Glyph (); in trim_padding()
549 if (unlikely (glyph >= glyph_end)) return Glyph (); in trim_padding()
567 if (unlikely (coords_with_flags != num_coordinates)) return Glyph (); in trim_padding()
568 return Glyph (bytes.sub_array (0, bytes.length + coord_bytes - (glyph_end - glyph))); in trim_padding()
699 const Glyph trim_padding () const { return Glyph (bytes); } in trim_padding()
727 const Glyph trim_padding () const in trim_padding() argument
884 Glyph (hb_bytes_t bytes_ = hb_bytes_t (), in Glyph() argument
[all …]
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/tools/sfnttool/
DGlyphCoverage.java25 import com.google.typography.font.sfntly.table.truetype.Glyph;
26 import com.google.typography.font.sfntly.table.truetype.Glyph.GlyphType;
64 Glyph glyph = getGlyph(font, glyphId); in touchGlyph()
88 private static Glyph getGlyph(Font font, int glyphId) { in getGlyph()
/third_party/skia/tools/fonts/
DTestSVGTypeface.h133 struct Glyph { struct
134 Glyph();
135 ~Glyph();
158 std::unique_ptr<Glyph[]> fGlyphs; argument
DTestSVGTypeface.cpp61 , fGlyphs(new Glyph[data.size()]) in TestSVGTypeface()
73 void TestSVGTypeface::Glyph::withSVG(Fn&& fn) const { in withSVG()
101 SkSize TestSVGTypeface::Glyph::size() const { in size()
109 void TestSVGTypeface::Glyph::render(SkCanvas* canvas) const { in render()
117 TestSVGTypeface::Glyph::Glyph() : fOrigin{0, 0}, fAdvance(0) {} in Glyph() function in TestSVGTypeface::Glyph
118 TestSVGTypeface::Glyph::~Glyph() {} in ~Glyph()
205 TestSVGTypeface::Glyph& glyphData = this->getTestSVGTypeface()->fGlyphs[glyphID]; in generateMetrics()
236 TestSVGTypeface::Glyph& glyphData = this->getTestSVGTypeface()->fGlyphs[glyphID]; in generateImage()
926 const TestSVGTypeface::Glyph& glyphData = this->fGlyphs[i]; in exportTtxSbix()
1366 const TestSVGTypeface::Glyph& glyphData = this->fGlyphs[i]; in exportTtxColr()
/third_party/skia/third_party/externals/sfntly/java/test/com/google/typography/font/sfntly/
DGlyphEditingTests.java24 import com.google.typography.font.sfntly.table.truetype.Glyph;
111 List<? extends Glyph.Builder<? extends Glyph>> glyphBuilders = in testRemoveOneGlyph()
171 List<? extends Glyph.Builder<? extends Glyph>> glyphBuilders = in testClearAllGlyphs()
DGlyphTests.java23 import com.google.typography.font.sfntly.table.truetype.Glyph;
142 Glyph glyph = table.glyph(offset, length); in checkGlyph()
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/tools/conversion/eot/
DGlyfEncoder.java23 import com.google.typography.font.sfntly.table.truetype.Glyph;
66 Glyph glyph = glyf.glyph(sourceOffset, length); in encode()
71 private void writeGlyph(Glyph glyph) { in writeGlyph()
85 private void writeInstructions(Glyph glyph) throws IOException{ in writeInstructions()
257 private void splitPush(Glyph glyph) throws IOException { in splitPush()
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/sample/sflint/
DSFLint.java29 import com.google.typography.font.sfntly.table.truetype.Glyph;
30 import com.google.typography.font.sfntly.table.truetype.Glyph.GlyphType;
130 Glyph glyph = glyphTable.glyph(offset, length); in lintWindowsClipping()
204 Glyph glyph = glyphTable.glyph(offset, length); in lintAllGlyphs()
/third_party/skia/third_party/externals/freetype/src/psnames/
Dmodule.mk20 $(ECHO_DRIVER)psnames $(ECHO_DRIVER_DESC)Postscript & Unicode Glyph name handling$(ECHO_DRIVER_DO…
/third_party/ffmpeg/libavfilter/
Dvf_drawtext.c289 typedef struct Glyph {
300 } Glyph;
304 const Glyph *a = key, *bb = b; in glyph_cmp()
316 static int load_glyph(AVFilterContext *ctx, Glyph **glyph_ptr, uint32_t code) in load_glyph()
320 Glyph *glyph; in load_glyph()
697 Glyph *glyph; in init()
796 Glyph *glyph = elem; in glyph_enu_free()
1227 Glyph *glyph = NULL; in draw_glyphs()
1231 Glyph dummy = { 0 }; in draw_glyphs()
1301 Glyph *glyph = NULL, *prev_glyph = NULL; in draw_text()
[all …]
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/sample/sfntdump/
DSfntDump.java33 import com.google.typography.font.sfntly.table.truetype.Glyph;
451 Glyph glyph = glyphTable.glyph(offset, length); in dumpFont()
506 Glyph glyph = glyphTable.glyph(offset, length); in dumpChar()
524 Glyph glyph = glyphTable.glyph(offset, length); in countSpecialGlyphs()
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/tools/fontinfo/
DFontInfo.java26 import com.google.typography.font.sfntly.table.truetype.Glyph;
27 import com.google.typography.font.sfntly.table.truetype.Glyph.GlyphType;
504 Glyph glyph = glyfTable.glyph(locaTable.glyphOffset(i), locaTable.glyphLength(i)); in listGlyphDimensionBounds()
543 Glyph glyph = glyfTable.glyph(locaTable.glyphOffset(i), locaTable.glyphLength(i)); in hintingSize()
573 Glyph glyph = glyfTable.glyph(locaTable.glyphOffset(i), locaTable.glyphLength(i)); in listSubglyphFrequency()

12