/external/skia/third_party/sfntly/ |
D | BUILD.gn | 11 third_party("sfntly") { 12 public_include_dirs = [ "../externals/sfntly/cpp/src" ] 18 "../externals/sfntly/cpp/src/sample/chromium/font_subsetter.cc", 19 "../externals/sfntly/cpp/src/sample/chromium/subsetter_impl.cc", 20 "../externals/sfntly/cpp/src/sfntly/data/byte_array.cc", 21 "../externals/sfntly/cpp/src/sfntly/data/font_data.cc", 22 "../externals/sfntly/cpp/src/sfntly/data/font_input_stream.cc", 23 "../externals/sfntly/cpp/src/sfntly/data/font_output_stream.cc", 24 "../externals/sfntly/cpp/src/sfntly/data/growable_memory_byte_array.cc", 25 "../externals/sfntly/cpp/src/sfntly/data/memory_byte_array.cc", [all …]
|
/external/sfntly/ |
D | Android.bp | 5 "cpp/src/sfntly/data/byte_array.cc", 6 "cpp/src/sfntly/data/font_data.cc", 7 "cpp/src/sfntly/data/font_input_stream.cc", 8 "cpp/src/sfntly/data/font_output_stream.cc", 9 "cpp/src/sfntly/data/growable_memory_byte_array.cc", 10 "cpp/src/sfntly/data/memory_byte_array.cc", 11 "cpp/src/sfntly/data/readable_font_data.cc", 12 "cpp/src/sfntly/data/writable_font_data.cc", 13 "cpp/src/sfntly/font.cc", 14 "cpp/src/sfntly/font_factory.cc", [all …]
|
D | README.md | 1 # What is sfntly? 3 sfntly is pronounced "esfontlee". 5 sfntly is a Java and C++ library for using, editing, and creating sfnt container based fonts (e.g. … 7 …sfntly are the reading, editing, and writing of an sfnt container font. Fonts that use an sfnt con… 9 …sfntly are really anything that you can think of that involves reading and/or editing fonts. Right… 11 …sfntly you can read and extract any of the tables in a font. The tables are the individual data st… 13 To get started with sfntly: clone the repository and follow the quickstart.txt guide in the Java di… 17 Stuart Gill - sfntly Architect and Lead Developer
|
/external/sfntly/cpp/src/sample/subtly/ |
D | font_info.h | 34 typedef std::map<FontId, sfntly::Ptr<sfntly::Font> > FontIdMap; 61 class FontInfo : public sfntly::RefCounted<FontInfo> { 77 virtual sfntly::FontDataTable* GetTable(FontId font_id, int32_t tag); 79 virtual const sfntly::TableMap* GetTableMap(FontId); 102 public sfntly::RefCounted<FontSourcedInfoBuilder> { 104 FontSourcedInfoBuilder(sfntly::Font* font, FontId font_id); 105 FontSourcedInfoBuilder(sfntly::Font* font, 119 sfntly::Ptr<sfntly::Font> font_; 123 sfntly::Ptr<sfntly::CMapTable::CMap> cmap_; 124 sfntly::Ptr<sfntly::LocaTable> loca_table_; [all …]
|
D | font_assembler.h | 36 class FontAssembler : public sfntly::RefCounted<FontAssembler> { 41 FontAssembler(FontInfo* font_info, sfntly::IntegerSet* table_blacklist); 46 virtual CALLER_ATTACH sfntly::Font* Assemble(); 48 sfntly::IntegerSet* table_blacklist() const { return table_blacklist_; } in table_blacklist() 49 void set_table_blacklist(sfntly::IntegerSet* table_blacklist) { in set_table_blacklist() 60 sfntly::Ptr<FontInfo> font_info_; 61 sfntly::Ptr<sfntly::FontFactory> font_factory_; 62 sfntly::Ptr<sfntly::Font::Builder> font_builder_; 63 sfntly::IntegerSet* table_blacklist_;
|
D | utils.h | 24 CALLER_ATTACH sfntly::Font* LoadFont(const char* font_path); 25 CALLER_ATTACH sfntly::Font::Builder* LoadFontBuilder(const char* font_path); 27 void LoadFonts(const char* font_path, sfntly::FontFactory* factory, 28 sfntly::FontArray* fonts); 30 sfntly::FontFactory* factory, 31 sfntly::FontBuilderArray* builders); 33 bool SerializeFont(const char* font_path, sfntly::Font* font); 34 bool SerializeFont(const char* font_path, sfntly::FontFactory* factory, 35 sfntly::Font* font);
|
D | subsetter.h | 26 class Subsetter : public sfntly::RefCounted<Subsetter> { 28 Subsetter(sfntly::Font* font, CharacterPredicate* predicate); 33 virtual CALLER_ATTACH sfntly::Font* Subset(); 36 sfntly::Ptr<sfntly::Font> font_; 37 sfntly::Ptr<CharacterPredicate> predicate_;
|
D | character_predicate.h | 24 class CharacterPredicate : virtual public sfntly::RefCount { 33 public sfntly::RefCounted<AcceptRange> { 48 public sfntly::RefCounted<AcceptSet> { 50 explicit AcceptSet(sfntly::IntegerSet* characters); 55 sfntly::IntegerSet* characters_; 60 public sfntly::RefCounted<AcceptAll> {
|
D | merger.h | 23 namespace sfntly { 29 class Merger : public sfntly::RefCounted<Merger> { 31 explicit Merger(sfntly::FontArray* fonts); 35 virtual CALLER_ATTACH sfntly::Font* Merge();
|
D | stats.h | 24 namespace sfntly { 29 using namespace sfntly; variable
|
/external/sfntly/cpp/ |
D | CMakeLists.txt | 2 # CMake build script for Google Typography sfntly. 7 project(sfntly) project 43 file(GLOB SFNTLY_CORE_FILES src/sfntly/*.h src/sfntly/*.cc) 44 file(GLOB SFNTLY_PORT_FILES src/sfntly/port/*.h src/sfntly/port/*.cc) 45 file(GLOB SFNTLY_DATA_FILES src/sfntly/data/*.h src/sfntly/data/*.cc) 46 file(GLOB SFNTLY_MATH_FILES src/sfntly/math/*.h src/sfntly/math/*.cc) 47 file(GLOB SFNTLY_TABLE_COMMON_FILES src/sfntly/table/*.h src/sfntly/table/*.cc) 48 file(GLOB SFNTLY_TABLE_BITMAP_FILES src/sfntly/table/bitmap/*.h src/sfntly/table/bitmap/*.cc) 49 file(GLOB SFNTLY_TABLE_CORE_FILES src/sfntly/table/core/*.h src/sfntly/table/core/*.cc) 50 file(GLOB SFNTLY_TABLE_TTF_FILES src/sfntly/table/truetype/*.h src/sfntly/table/truetype/*.cc) [all …]
|
D | README.txt | 1 Please refer to http://code.google.com/p/sfntly/wiki/build_cpp regarding how to build sfntly. 3 sfntly wiki contains other useful documents: http://code.google.com/p/sfntly/w/list
|
/external/sfntly/cpp/src/test/ |
D | chrome_subsetter.cc | 24 const char* kInputFileName = sfntly::SAMPLE_TTF_FILE; 36 sfntly::ByteVector input_buffer; in TestChromeSubsetter() 37 sfntly::LoadFile(kInputFileName, &input_buffer); in TestChromeSubsetter()
|
D | test_utils_test.cc | 27 namespace sfntly { namespace 82 ASSERT_TRUE(sfntly::TestExtension()); in TEST() 83 ASSERT_TRUE(sfntly::TestEncoding()); in TEST()
|
D | lock_test.cc | 23 namespace sfntly { namespace 234 ASSERT_TRUE(sfntly::BasicLockTest()); in TEST() 238 ASSERT_TRUE(sfntly::TryLockTest()); in TEST() 242 ASSERT_TRUE(sfntly::MutexTwoThreads()); in TEST() 243 ASSERT_TRUE(sfntly::MutexFourThreads()); in TEST()
|
D | open_type_data_test.cc | 21 namespace sfntly { namespace 68 ASSERT_TRUE(sfntly::TestOTFRead()); in TEST() 69 ASSERT_TRUE(sfntly::TestOTFCopy()); in TEST()
|
D | file_io_test.cc | 24 namespace sfntly { namespace 150 ASSERT_TRUE(sfntly::TestFileInputStream()); in TEST() 151 ASSERT_TRUE(sfntly::TestFontInputStreamBasic()); in TEST() 152 ASSERT_TRUE(sfntly::TestFontInputStreamTableLoading()); in TEST()
|
D | font_parsing_test.cc | 32 namespace sfntly { namespace 137 ASSERT_TRUE(sfntly::TestFontParsing()); in TEST() 138 ASSERT_TRUE(sfntly::TestTTFReadWrite()); in TEST() 139 ASSERT_TRUE(sfntly::TestTTFMemoryBasedReadWrite()); in TEST()
|
D | memory_io_test.cc | 34 namespace sfntly { namespace 100 ASSERT_TRUE(sfntly::TestMemoryInputStream()); in TEST() 101 ASSERT_TRUE(sfntly::TestMemoryOutputStream()); in TEST()
|
D | name_editing_test.cc | 34 namespace sfntly { namespace 239 EXPECT_TRUE(sfntly::TestChangeOneName()); in TEST() 240 EXPECT_TRUE(sfntly::TestModifyNameTableAndRevert()); in TEST() 241 EXPECT_TRUE(sfntly::TestRemoveOneName()); in TEST()
|
D | endian_test.cc | 25 namespace sfntly { namespace 76 ASSERT_TRUE(sfntly::TestEndian()); in TEST()
|
D | byte_array_test.cc | 23 namespace sfntly { namespace 144 ASSERT_TRUE(sfntly::TestMemoryByteArray()); in TEST() 145 ASSERT_TRUE(sfntly::TestGrowableMemoryByteArray()); in TEST()
|
D | serialization_test.cc | 26 namespace sfntly { namespace 146 ASSERT_TRUE(sfntly::TestSerialization()); in TEST() 150 ASSERT_TRUE(sfntly::TestSerializationBitmap()); in TEST()
|
D | smart_pointer_test.cc | 21 using sfntly::RefCounted; 22 using sfntly::Ptr;
|
/external/sfntly/cpp/src/sample/chromium/ |
D | font_subsetter.cc | 33 sfntly::SubsetterImpl subsetter; in SubsetFont() 53 sfntly::SubsetterImpl subsetter; in SubsetFont()
|