Home
last modified time | relevance | path

Searched refs:sfntly (Results 1 – 25 of 184) sorted by relevance

12345678

/external/skia/third_party/sfntly/
DBUILD.gn11 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/
DAndroid.bp5 "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 …]
DREADME.md1 # 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. …
7sfntly are the reading, editing, and writing of an sfnt container font. Fonts that use an sfnt con…
9sfntly are really anything that you can think of that involves reading and/or editing fonts. Right…
11sfntly 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/
Dfont_info.h34 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 …]
Dfont_assembler.h36 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_;
Dutils.h24 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);
Dsubsetter.h26 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_;
Dcharacter_predicate.h24 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> {
Dmerger.h23 namespace sfntly {
29 class Merger : public sfntly::RefCounted<Merger> {
31 explicit Merger(sfntly::FontArray* fonts);
35 virtual CALLER_ATTACH sfntly::Font* Merge();
Dstats.h24 namespace sfntly {
29 using namespace sfntly; variable
/external/sfntly/cpp/
DCMakeLists.txt2 # 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 …]
DREADME.txt1 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/
Dchrome_subsetter.cc24 const char* kInputFileName = sfntly::SAMPLE_TTF_FILE;
36 sfntly::ByteVector input_buffer; in TestChromeSubsetter()
37 sfntly::LoadFile(kInputFileName, &input_buffer); in TestChromeSubsetter()
Dtest_utils_test.cc27 namespace sfntly { namespace
82 ASSERT_TRUE(sfntly::TestExtension()); in TEST()
83 ASSERT_TRUE(sfntly::TestEncoding()); in TEST()
Dlock_test.cc23 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()
Dopen_type_data_test.cc21 namespace sfntly { namespace
68 ASSERT_TRUE(sfntly::TestOTFRead()); in TEST()
69 ASSERT_TRUE(sfntly::TestOTFCopy()); in TEST()
Dfile_io_test.cc24 namespace sfntly { namespace
150 ASSERT_TRUE(sfntly::TestFileInputStream()); in TEST()
151 ASSERT_TRUE(sfntly::TestFontInputStreamBasic()); in TEST()
152 ASSERT_TRUE(sfntly::TestFontInputStreamTableLoading()); in TEST()
Dfont_parsing_test.cc32 namespace sfntly { namespace
137 ASSERT_TRUE(sfntly::TestFontParsing()); in TEST()
138 ASSERT_TRUE(sfntly::TestTTFReadWrite()); in TEST()
139 ASSERT_TRUE(sfntly::TestTTFMemoryBasedReadWrite()); in TEST()
Dmemory_io_test.cc34 namespace sfntly { namespace
100 ASSERT_TRUE(sfntly::TestMemoryInputStream()); in TEST()
101 ASSERT_TRUE(sfntly::TestMemoryOutputStream()); in TEST()
Dname_editing_test.cc34 namespace sfntly { namespace
239 EXPECT_TRUE(sfntly::TestChangeOneName()); in TEST()
240 EXPECT_TRUE(sfntly::TestModifyNameTableAndRevert()); in TEST()
241 EXPECT_TRUE(sfntly::TestRemoveOneName()); in TEST()
Dendian_test.cc25 namespace sfntly { namespace
76 ASSERT_TRUE(sfntly::TestEndian()); in TEST()
Dbyte_array_test.cc23 namespace sfntly { namespace
144 ASSERT_TRUE(sfntly::TestMemoryByteArray()); in TEST()
145 ASSERT_TRUE(sfntly::TestGrowableMemoryByteArray()); in TEST()
Dserialization_test.cc26 namespace sfntly { namespace
146 ASSERT_TRUE(sfntly::TestSerialization()); in TEST()
150 ASSERT_TRUE(sfntly::TestSerializationBitmap()); in TEST()
Dsmart_pointer_test.cc21 using sfntly::RefCounted;
22 using sfntly::Ptr;
/external/sfntly/cpp/src/sample/chromium/
Dfont_subsetter.cc33 sfntly::SubsetterImpl subsetter; in SubsetFont()
53 sfntly::SubsetterImpl subsetter; in SubsetFont()

12345678