/external/sfntly/cpp/src/sfntly/table/bitmap/ |
D | eblc_table.cc | 28 int32_t EblcTable::Version() { in Version() 32 int32_t EblcTable::NumSizes() { in NumSizes() 36 BitmapSizeTable* EblcTable::GetBitmapSizeTable(int32_t index) { in GetBitmapSizeTable() 51 EblcTable::EblcTable(Header* header, ReadableFontData* data) in EblcTable() function in sfntly::EblcTable 55 BitmapSizeTableList* EblcTable::GetBitmapSizeTableList() { in GetBitmapSizeTableList() 64 void EblcTable::CreateBitmapSizeTable(ReadableFontData* data, in CreateBitmapSizeTable() 87 EblcTable::Builder::Builder(Header* header, WritableFontData* data) in Builder() 91 EblcTable::Builder::Builder(Header* header, ReadableFontData* data) in Builder() 95 EblcTable::Builder::~Builder() { in ~Builder() 98 int32_t EblcTable::Builder::SubSerialize(WritableFontData* new_data) { in SubSerialize() [all …]
|
D | index_sub_table_format4.cc | 41 return data_->ReadUShort(EblcTable::Offset::kIndexSubTable4_glyphArray + in GlyphStartOffset() 43 EblcTable::Offset::kCodeOffsetPairLength + in GlyphStartOffset() 44 EblcTable::Offset::kCodeOffsetPair_offset); in GlyphStartOffset() 58 EblcTable::Offset::kIndexSubTable4_glyphArray + in GlyphLength() 59 (pair_index + 1) * EblcTable::Offset::kCodeOffsetPairLength + in GlyphLength() 60 EblcTable::Offset::kCodeOffsetPair_offset) - in GlyphLength() 62 EblcTable::Offset::kIndexSubTable4_glyphArray + in GlyphLength() 63 (pair_index) * EblcTable::Offset::kCodeOffsetPairLength + in GlyphLength() 64 EblcTable::Offset::kCodeOffsetPair_offset); in GlyphLength() 74 return data_->SearchUShort(EblcTable::Offset::kIndexSubTable4_glyphArray, in FindCodeOffsetPair() [all …]
|
D | bitmap_size_table.cc | 39 EblcTable::Offset::kBitmapSizeTable_indexSubTableArrayOffset); in IndexSubTableArrayOffset() 44 EblcTable::Offset::kBitmapSizeTable_indexTableSize); in IndexTableSize() 52 return data_->ReadULongAsInt(EblcTable::Offset::kBitmapSizeTable_colorRef); in ColorRef() 56 return data_->ReadUShort(EblcTable::Offset::kBitmapSizeTable_startGlyphIndex); in StartGlyphIndex() 60 return data_->ReadUShort(EblcTable::Offset::kBitmapSizeTable_endGlyphIndex); in EndGlyphIndex() 64 return data_->ReadByte(EblcTable::Offset::kBitmapSizeTable_ppemX); in PpemX() 68 return data_->ReadByte(EblcTable::Offset::kBitmapSizeTable_ppemY); in PpemY() 72 return data_->ReadByte(EblcTable::Offset::kBitmapSizeTable_bitDepth); in BitDepth() 76 return data_->ReadChar(EblcTable::Offset::kBitmapSizeTable_flags); in FlagsAsInt() 128 EblcTable::Offset::kBitmapSizeTable_numberOfIndexSubTables); in NumberOfIndexSubTables() [all …]
|
D | index_sub_table.cc | 72 data_->ReadUShort(EblcTable::Offset::kIndexSubHeader_indexFormat); in IndexSubTable() 74 data_->ReadUShort(EblcTable::Offset::kIndexSubHeader_imageFormat); in IndexSubTable() 76 data_->ReadULongAsInt(EblcTable::Offset::kIndexSubHeader_imageDataOffset); in IndexSubTable() 150 array_index * EblcTable::Offset::kIndexSubTableEntryLength; in CreateBuilder() 153 EblcTable::Offset::kIndexSubTableEntry_firstGlyphIndex); in CreateBuilder() 156 EblcTable::Offset::kIndexSubTableEntry_lastGlyphIndex); in CreateBuilder() 159 EblcTable::Offset::kIndexSubTableEntry_additionalOffsetToIndexSubTable); in CreateBuilder() 260 data->WriteUShort(EblcTable::Offset::kIndexSubHeader_indexFormat, in SerializeIndexSubHeader() 262 size += data->WriteUShort(EblcTable::Offset::kIndexSubHeader_imageFormat, in SerializeIndexSubHeader() 264 size += data->WriteULong(EblcTable::Offset::kIndexSubHeader_imageDataOffset, in SerializeIndexSubHeader() [all …]
|
D | index_sub_table_format5.cc | 40 EblcTable::Offset::kIndexSubTable5_glyphArray, in GlyphStartOffset() 59 return data_->ReadULongAsInt(EblcTable::Offset::kIndexSubTable5_imageSize); in ImageSize() 65 EblcTable::Offset::kIndexSubTable5_bigGlyphMetrics, in BigMetrics() 76 EblcTable::Offset::kIndexSubTable5_imageSize); in IndexSubTableFormat5() 83 EblcTable::Offset::kIndexSubTable5_numGlyphs); in NumGlyphs() 189 return EblcTable::Offset::kIndexSubTable5_builderDataSize + in SubDataSizeToSerialize() 207 EblcTable::Offset::kIndexSubTable5_imageSize))); in SubSerialize() 209 EblcTable::Offset::kIndexSubTable5_imageSize))); in SubSerialize() 212 size += new_data->WriteULong(EblcTable::Offset::kIndexSubTable5_imageSize, in SubSerialize() 228 EblcTable::Offset::kIndexSubTable5_imageSize); in ImageSize() [all …]
|
D | index_sub_table_format2.cc | 29 return data_->ReadULongAsInt(EblcTable::Offset::kIndexSubTable2_imageSize); in ImageSize() 35 data_->Slice(EblcTable::Offset::kIndexSubTable2_bigGlyphMetrics, in BigMetrics() 65 data_->ReadULongAsInt(EblcTable::Offset::kIndexSubTable2_imageSize); in IndexSubTableFormat2() 103 EblcTable::Offset::kIndexSubTable2_imageSize); in ImageSize() 107 InternalWriteData()->WriteULong(EblcTable::Offset::kIndexSubTable2_imageSize, in SetImageSize() 115 EblcTable::Offset::kIndexSubTable2_bigGlyphMetrics, in BigMetrics() 184 return EblcTable::Offset::kIndexSubTable2Length; in SubDataSizeToSerialize() 203 size += new_data->WriteLong(EblcTable::Offset::kIndexSubTable2_imageSize, in SubSerialize() 212 : IndexSubTable::Builder(EblcTable::Offset::kIndexSubTable3_builderDataSize, in Builder() 239 return EblcTable::Offset::kIndexSubTable2Length; in DataLength()
|
D | eblc_table.h | 28 class EblcTable : public SubTableContainerTable, 29 public RefCounted<EblcTable> { 178 EblcTable(Header* header, ReadableFontData* data); 190 typedef Ptr<EblcTable> EblcTablePtr; 191 typedef Ptr<EblcTable::Builder> EblcTableBuilderPtr;
|
D | index_sub_table_format3.cc | 66 data_->ReadUShort(EblcTable::Offset::kIndexSubTable3_offsetArray + in Loca() 182 return EblcTable::Offset::kIndexSubHeaderLength + in SubDataSizeToSerialize() 203 EblcTable::Offset::kIndexSubTable3_offsetArray))); in SubSerialize() 205 EblcTable::Offset::kIndexSubTable3_offsetArray))); in SubSerialize() 217 : IndexSubTable::Builder(EblcTable::Offset::kIndexSubTable3_builderDataSize, in Builder() 247 EblcTable::Offset::kIndexSubTable3_offsetArray + in Initialize() 261 return EblcTable::Offset::kIndexSubHeaderLength + in DataLength()
|
D | index_sub_table_format1.cc | 66 data_->ReadULongAsInt(EblcTable::Offset::kIndexSubTable1_offsetArray + in Loca() 170 return EblcTable::Offset::kIndexSubHeaderLength + in SubDataSizeToSerialize() 191 EblcTable::Offset::kIndexSubTable1_offsetArray))); in SubSerialize() 193 EblcTable::Offset::kIndexSubTable1_offsetArray))); in SubSerialize() 221 : IndexSubTable::Builder(EblcTable::Offset::kIndexSubTable1_builderDataSize, in Builder() 251 EblcTable::Offset::kIndexSubTable1_offsetArray + in Initialize() 265 return EblcTable::Offset::kIndexSubHeaderLength + in DataLength()
|
D | ebsc_table.h | 37 kBitmapScaleTable_vert = EblcTable::Offset::kSbitLineMetricsLength, 39 EblcTable::Offset::kSbitLineMetricsLength,
|
/external/sfntly/cpp/src/test/ |
D | bitmap_table_test.cc | 55 EblcTablePtr bitmap_loca = down_cast<EblcTable*>(font->GetTable(Tag::EBLC)); in CommonReadingTest() 103 EblcTablePtr bitmap_loca = down_cast<EblcTable*>(font->GetTable(Tag::EBLC)); in TestReadingBitmapTable() 129 void SubsetEBLC(EblcTable::Builder* eblc, const BitmapLocaList& new_loca); 140 down_cast<EblcTable::Builder*>(font_builder->GetTableBuilder(Tag::EBLC)); in TestIndexFormatConversion() 166 down_cast<EblcTable*>(new_font->GetTable(Tag::EBLC)); in TestIndexFormatConversion() 178 EblcTablePtr original_loca = down_cast<EblcTable*>(font->GetTable(Tag::EBLC)); in TestIndexFormatConversion()
|
/external/sfntly/cpp/src/sample/chromium/ |
D | subsetter_impl.cc | 296 bool InitializeBitmapBuilder(EbdtTable::Builder* ebdt, EblcTable::Builder* eblc, in InitializeBitmapBuilder() 500 void SubsetEBLC(EblcTable::Builder* eblc, const BitmapLocaList& new_loca) { in SubsetEBLC() 570 EblcTablePtr eblc_table = down_cast<EblcTable*>(font->GetTable(Tag::EBLC)); in SetupBitmapBuilders() 574 eblc_table = down_cast<EblcTable*>(font->GetTable(Tag::bloc)); in SetupBitmapBuilders() 590 EblcTableBuilderPtr eblc_table_builder = down_cast<EblcTable::Builder*>( in SetupBitmapBuilders()
|
/external/sfntly/cpp/src/sfntly/table/ |
D | table.cc | 124 EblcTable::Builder::CreateBuilder(header, table_data)); in GetBuilder()
|