Home
last modified time | relevance | path

Searched refs:subsetter (Results 1 – 25 of 86) sorted by relevance

1234

/third_party/flutter/skia/third_party/externals/sfntly/cpp/src/sample/chromium/
Dfont_subsetter.cc33 sfntly::SubsetterImpl subsetter; in SubsetFont() local
34 if (!subsetter.LoadFont(font_name, original_font, font_size)) { in SubsetFont()
38 return subsetter.SubsetFont(glyph_ids, glyph_count, output_buffer); in SubsetFont()
53 sfntly::SubsetterImpl subsetter; in SubsetFont() local
54 if (!subsetter.LoadFont(font_index, original_font, font_size)) { in SubsetFont()
58 return subsetter.SubsetFont(glyph_ids, glyph_count, output_buffer); in SubsetFont()
/third_party/skia/third_party/externals/sfntly/cpp/src/sample/chromium/
Dfont_subsetter.cc33 sfntly::SubsetterImpl subsetter; in SubsetFont() local
34 if (!subsetter.LoadFont(font_name, original_font, font_size)) { in SubsetFont()
38 return subsetter.SubsetFont(glyph_ids, glyph_count, output_buffer); in SubsetFont()
53 sfntly::SubsetterImpl subsetter; in SubsetFont() local
54 if (!subsetter.LoadFont(font_index, original_font, font_size)) { in SubsetFont()
58 return subsetter.SubsetFont(glyph_ids, glyph_count, output_buffer); in SubsetFont()
/third_party/flutter/skia/third_party/externals/sfntly/java/src/com/google/typography/font/tools/subsetter/
DRenumberingCMapTableSubsetter.java17 package com.google.typography.font.tools.subsetter;
50 static Map<Integer, Integer> computeMapping(Subsetter subsetter, Font font) { in computeMapping() argument
55 Map<Integer, Integer> inverseMapping = subsetter.getInverseMapping(); in computeMapping()
67 public boolean subset(Subsetter subsetter, Font font, Builder fontBuilder) throws IOException { in subset() argument
69 new CMapTableBuilder(fontBuilder, computeMapping(subsetter, font)); in subset()
DPostScriptTableSubsetter.java17 package com.google.typography.font.tools.subsetter;
37 public boolean subset(Subsetter subsetter, Font font, Font.Builder fontBuilder) { in subset() argument
38 List<Integer> permutationTable = subsetter.glyphMappingTable(); in subset()
DGlyphTableSubsetter.java17 package com.google.typography.font.tools.subsetter;
48 public boolean subset(Subsetter subsetter, Font font, Font.Builder fontBuilder) in subset() argument
53 List<Integer> permutationTable = subsetter.glyphMappingTable(); in subset()
70 Map<Integer, Integer> inverseMap = subsetter.getInverseMapping(); in subset()
DHorizontalMetricsTableSubsetter.java17 package com.google.typography.font.tools.subsetter;
39 public boolean subset(Subsetter subsetter, Font font, Builder fontBuilder) { in subset() argument
40 List<Integer> permutationTable = subsetter.glyphMappingTable(); in subset()
DCMapTableSubsetter.java17 package com.google.typography.font.tools.subsetter;
41 public boolean subset(Subsetter subsetter, Font font, Builder fontBuilder) throws IOException { in subset() argument
51 for (CMapTable.CMapId cmapId : subsetter.cmapId()) { in subset()
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/tools/subsetter/
DRenumberingCMapTableSubsetter.java17 package com.google.typography.font.tools.subsetter;
50 static Map<Integer, Integer> computeMapping(Subsetter subsetter, Font font) { in computeMapping() argument
55 Map<Integer, Integer> inverseMapping = subsetter.getInverseMapping(); in computeMapping()
67 public boolean subset(Subsetter subsetter, Font font, Builder fontBuilder) throws IOException { in subset() argument
69 new CMapTableBuilder(fontBuilder, computeMapping(subsetter, font)); in subset()
DPostScriptTableSubsetter.java17 package com.google.typography.font.tools.subsetter;
37 public boolean subset(Subsetter subsetter, Font font, Font.Builder fontBuilder) { in subset() argument
38 List<Integer> permutationTable = subsetter.glyphMappingTable(); in subset()
DGlyphTableSubsetter.java17 package com.google.typography.font.tools.subsetter;
48 public boolean subset(Subsetter subsetter, Font font, Font.Builder fontBuilder) in subset() argument
53 List<Integer> permutationTable = subsetter.glyphMappingTable(); in subset()
70 Map<Integer, Integer> inverseMap = subsetter.getInverseMapping(); in subset()
DHorizontalMetricsTableSubsetter.java17 package com.google.typography.font.tools.subsetter;
39 public boolean subset(Subsetter subsetter, Font font, Builder fontBuilder) { in subset() argument
40 List<Integer> permutationTable = subsetter.glyphMappingTable(); in subset()
DCMapTableSubsetter.java17 package com.google.typography.font.tools.subsetter;
41 public boolean subset(Subsetter subsetter, Font font, Builder fontBuilder) throws IOException { in subset() argument
51 for (CMapTable.CMapId cmapId : subsetter.cmapId()) { in subset()
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/tools/sfnttool/
DSfntTool.java26 import com.google.typography.font.tools.subsetter.HintStripper;
27 import com.google.typography.font.tools.subsetter.RenumberingSubsetter;
28 import com.google.typography.font.tools.subsetter.Subsetter;
134 Subsetter subsetter = new RenumberingSubsetter(newFont, fontFactory); in subsetFontFile() local
135 subsetter.setCMaps(cmapIds, 1); in subsetFontFile()
137 subsetter.setGlyphs(glyphs); in subsetFontFile()
153 subsetter.setRemoveTables(removeTables); in subsetFontFile()
154 newFont = subsetter.subset().build(); in subsetFontFile()
/third_party/flutter/skia/third_party/externals/sfntly/java/src/com/google/typography/font/tools/sfnttool/
DSfntTool.java26 import com.google.typography.font.tools.subsetter.HintStripper;
27 import com.google.typography.font.tools.subsetter.RenumberingSubsetter;
28 import com.google.typography.font.tools.subsetter.Subsetter;
134 Subsetter subsetter = new RenumberingSubsetter(newFont, fontFactory); in subsetFontFile() local
135 subsetter.setCMaps(cmapIds, 1); in subsetFontFile()
137 subsetter.setGlyphs(glyphs); in subsetFontFile()
153 subsetter.setRemoveTables(removeTables); in subsetFontFile()
154 newFont = subsetter.subset().build(); in subsetFontFile()
/third_party/skia/third_party/externals/sfntly/cpp/src/sample/subsetter/
Dsubset_util.cc74 Ptr<Subsetter> subsetter = new Subsetter(font_array[0], factory); in Subset() local
75 subsetter->SetGlyphs(&glyphs); in Subset()
78 subsetter->SetRemoveTables(&remove_tables); in Subset()
81 font_builder.Attach(subsetter->Subset()); in Subset()
/third_party/flutter/skia/third_party/externals/sfntly/cpp/src/sample/subsetter/
Dsubset_util.cc74 Ptr<Subsetter> subsetter = new Subsetter(font_array[0], factory); in Subset() local
75 subsetter->SetGlyphs(&glyphs); in Subset()
78 subsetter->SetRemoveTables(&remove_tables); in Subset()
81 font_builder.Attach(subsetter->Subset()); in Subset()
/third_party/flutter/skia/third_party/externals/sfntly/java/test/com/google/typography/font/tools/subsetter/
DBasicSubsetTests.java17 package com.google.typography.font.tools.subsetter;
61 Subsetter subsetter = new DumbSubsetter(srcFont, factory); in testSubsetGlyphs() local
77 subsetter.setGlyphs(glyphs); in testSubsetGlyphs()
83 subsetter.setCMaps(cmapIds, 1); in testSubsetGlyphs()
89 subsetter.setRemoveTables(removeTables); in testSubsetGlyphs()
90 Font.Builder dstFontBuilder = subsetter.subset(); in testSubsetGlyphs()
DRenumberingSubsetTest.java17 package com.google.typography.font.tools.subsetter;
61 Subsetter subsetter = new RenumberingSubsetter(srcFont, factory); in setUp() local
67 subsetter.setGlyphs(glyphs); in setUp()
73 subsetter.setRemoveTables(removeTables); in setUp()
74 Font.Builder dstFontBuilder = subsetter.subset(); in setUp()
/third_party/skia/third_party/externals/sfntly/java/test/com/google/typography/font/tools/subsetter/
DBasicSubsetTests.java17 package com.google.typography.font.tools.subsetter;
61 Subsetter subsetter = new DumbSubsetter(srcFont, factory); in testSubsetGlyphs() local
77 subsetter.setGlyphs(glyphs); in testSubsetGlyphs()
83 subsetter.setCMaps(cmapIds, 1); in testSubsetGlyphs()
89 subsetter.setRemoveTables(removeTables); in testSubsetGlyphs()
90 Font.Builder dstFontBuilder = subsetter.subset(); in testSubsetGlyphs()
DRenumberingSubsetTest.java17 package com.google.typography.font.tools.subsetter;
61 Subsetter subsetter = new RenumberingSubsetter(srcFont, factory); in setUp() local
67 subsetter.setGlyphs(glyphs); in setUp()
73 subsetter.setRemoveTables(removeTables); in setUp()
74 Font.Builder dstFontBuilder = subsetter.subset(); in setUp()
/third_party/skia/third_party/externals/sfntly/cpp/src/sfntly/tools/subsetter/
Dglyph_table_subsetter.cc35 bool GlyphTableSubsetter::Subset(Subsetter* subsetter, in Subset() argument
39 assert(subsetter); in Subset()
42 std::vector<int32_t>* permutation_table = subsetter->GlyphPermutationTable(); in Subset()
/third_party/flutter/skia/third_party/externals/sfntly/cpp/src/sfntly/tools/subsetter/
Dglyph_table_subsetter.cc35 bool GlyphTableSubsetter::Subset(Subsetter* subsetter, in Subset() argument
39 assert(subsetter); in Subset()
42 std::vector<int32_t>* permutation_table = subsetter->GlyphPermutationTable(); in Subset()
/third_party/skia/third_party/externals/sfntly/cpp/
DCMakeLists.txt70 file(GLOB_RECURSE SIMPLE_SUBSETTER src/sample/subsetter/*.h src/sample/subsetter/*.cc
72 add_executable(subsetter ${SIMPLE_SUBSETTER}) target
73 target_link_libraries(subsetter sfntly icuuc)
75 target_link_libraries(subsetter pthread)
/third_party/flutter/skia/third_party/externals/sfntly/cpp/
DCMakeLists.txt70 file(GLOB_RECURSE SIMPLE_SUBSETTER src/sample/subsetter/*.h src/sample/subsetter/*.cc
72 add_executable(subsetter ${SIMPLE_SUBSETTER}) target
73 target_link_libraries(subsetter sfntly icuuc)
75 target_link_libraries(subsetter pthread)
/third_party/skia/third_party/sfntly/
DBUILD.gn74 "$_src/sfntly/tools/subsetter/glyph_table_subsetter.cc",
75 "$_src/sfntly/tools/subsetter/subsetter.cc",
76 "$_src/sfntly/tools/subsetter/table_subsetter_impl.cc",

1234