/external/sfntly/cpp/src/sfntly/data/ |
font_data.cc | 25 int32_t FontData::Size() const { 29 bool FontData::Bound(int32_t offset, int32_t length) { 38 bool FontData::Bound(int32_t offset) { 46 int32_t FontData::Length() const { 50 FontData::FontData(ByteArray* ba) { 54 FontData::FontData(FontData* data, int32_t offset, int32_t length) { 59 FontData::FontData(FontData* data, int32_t offset) [all...] |
font_data.h | 51 class FontData : virtual public RefCount { 53 // Gets the maximum size of the FontData. This is the maximum number of bytes 59 // Sets limits on the size of the FontData. The FontData is then only 66 // Sets limits on the size of the FontData. This is a offset bound only so if 67 // the FontData is writable and growable then there is no limit to that growth 70 // size of the FontData 74 // Makes a slice of this FontData. The returned slice will share the data with 75 // the original <code>FontData</code>. 78 // @return a slice of the original FontData [all...] |
writable_font_data.h | 59 // the FontData's range 69 // the FontData's range 88 // Writes padding to the FontData. The padding byte written is 0x00. 94 // Writes padding to the FontData. 105 // @throws IndexOutOfBoundsException if index is outside the FontData's range 112 // @throws IndexOutOfBoundsException if index is outside the FontData's range 119 // @throws IndexOutOfBoundsException if index is outside the FontData's range 126 // @throws IndexOutOfBoundsException if index is outside the FontData's range 133 // @throws IndexOutOfBoundsException if index is outside the FontData's range 140 // @throws IndexOutOfBoundsException if index is outside the FontData's rang [all...] |
readable_font_data.h | 48 class ReadableFontData : public FontData, 74 // @throws IndexOutOfBoundsException if index is outside the FontData's range 80 // @throws IndexOutOfBoundsException if index is outside the FontData's range 98 // @throws IndexOutOfBoundsException if index is outside the FontData's range 104 // @throws IndexOutOfBoundsException if index is outside the FontData's range 110 // @throws IndexOutOfBoundsException if index is outside the FontData's range 116 // @throws IndexOutOfBoundsException if index is outside the FontData's range 122 // @throws IndexOutOfBoundsException if index is outside the FontData's range 128 // @throws IndexOutOfBoundsException if index is outside the FontData's range 134 // @throws IndexOutOfBoundsException if index is outside the FontData's rang [all...] |
readable_font_data.cc | 28 : FontData(array), 257 CALLER_ATTACH FontData* ReadableFontData::Slice(int32_t offset, 270 CALLER_ATTACH FontData* ReadableFontData::Slice(int32_t offset) { 283 : FontData(data, offset), 291 : FontData(data, offset, length),
|
/external/pdfium/core/ |
pdfiumfxge.mk | 34 src/fxge/fontdata/chromefontdata/FoxitDingbats.c \ 35 src/fxge/fontdata/chromefontdata/FoxitFixed.c \ 36 src/fxge/fontdata/chromefontdata/FoxitFixedBold.c \ 37 src/fxge/fontdata/chromefontdata/FoxitFixedBoldItalic.c \ 38 src/fxge/fontdata/chromefontdata/FoxitFixedItalic.c \ 39 src/fxge/fontdata/chromefontdata/FoxitSans.c \ 40 src/fxge/fontdata/chromefontdata/FoxitSansBold.c \ 41 src/fxge/fontdata/chromefontdata/FoxitSansBoldItalic.c \ 42 src/fxge/fontdata/chromefontdata/FoxitSansItalic.c \ 43 src/fxge/fontdata/chromefontdata/FoxitSansMM.c [all...] |
/external/skia/tools/ |
sk_tool_utils_font.cpp | 25 SkTestFontData& fontData = gTestFonts[index]; 26 SkSafeUnref(fontData.fFontCache); 33 SkTestFontData* fontData = nullptr; 39 fontData = &sub->fFont; 43 if (!fontData) { 54 fontData = &sub->fFont; 59 if (fontData->fFontCache) { 60 font = SkSafeRef(fontData->fFontCache); 62 font = new SkTestFont(*fontData); 65 fontData->fFontCache = SkSafeRef(font) [all...] |
/external/pdfium/core/src/fpdfapi/fpdf_page/ |
fpdf_page_doc.cpp | 148 CPDF_CountedFont* fontData = it.second; 149 if (!fontData->get()) 152 if (bForceRelease || fontData->use_count() < 2) { 153 fontData->clear(); 228 CPDF_CountedFont* fontData = nullptr; 231 fontData = it->second; 232 if (fontData->get()) { 233 return fontData->AddRef(); 241 if (!fontData) { 242 fontData = new CPDF_CountedFont(pFont) [all...] |
/external/libvncserver/utils/ |
consolefont2c.pl | 21 print OUT "unsigned char ".$fontname."FontData[4096+1]={"; 34 print OUT "};\nrfbFontData ".$fontname."Font = { ".$fontname."FontData, "
|
bdf2c.pl | 54 print "unsigned char " . $fontname . "FontData[$counter]={\n" . $out; 60 $fontname . "FontData, " . $fontname . "FontMetaData};\n";
|
/frameworks/base/core/jni/android/graphics/ |
HarfBuzzNGFaceSkia.cpp | 81 static hb_bool_t harfbuzzGetGlyph(hb_font_t* hbFont, void* fontData, hb_codepoint_t unicode, hb_codepoint_t variationSelector, hb_codepoint_t* glyph, void* userData) 83 HarfBuzzFontData* hbFontData = reinterpret_cast<HarfBuzzFontData*>(fontData); 98 static hb_position_t harfbuzzGetGlyphHorizontalAdvance(hb_font_t* hbFont, void* fontData, hb_codepoint_t glyph, void* userData) 100 HarfBuzzFontData* hbFontData = reinterpret_cast<HarfBuzzFontData*>(fontData); 107 static hb_bool_t harfbuzzGetGlyphHorizontalOrigin(hb_font_t* hbFont, void* fontData, hb_codepoint_t glyph, hb_position_t* x, hb_position_t* y, void* userData) 114 static hb_bool_t harfbuzzGetGlyphExtents(hb_font_t* hbFont, void* fontData, hb_codepoint_t glyph, hb_glyph_extents_t* extents, void* userData) 116 HarfBuzzFontData* hbFontData = reinterpret_cast<HarfBuzzFontData*>(fontData);
|
FontFamily.cpp | 56 static jboolean addSkTypeface(FontFamily* family, SkTypeface* face, const void* fontData, 58 MinikinFont* minikinFont = new MinikinFontSkia(face, fontData, fontSize, ttcIndex); 103 std::unique_ptr<SkStreamAsset> fontData(new SkMemoryStream(data)); 109 SkTypeface* face = fm->createFromStream(fontData.release(), params); 168 std::unique_ptr<SkStreamAsset> fontData(new SkMemoryStream(data)); 175 SkTypeface* face = fm->createFromStream(fontData.release(), params);
|
/external/libgdx/extensions/gdx-tools/src/com/badlogic/gdx/tools/bmfont/ |
BitmapFontWriter.java | 144 * @param fontData the bitmap font
150 public static void writeFont (BitmapFontData fontData, String[] pageRefs, FileHandle outFntFile, FontInfo info, int scaleW,
157 int lineHeight = (int)fontData.lineHeight;
160 int base = (int)((fontData.capHeight) + (fontData.flipped ? -fontData.ascent : fontData.ascent));
206 for (int i = 0; i < fontData.glyphs.length; i++) {
207 if (fontData.glyphs[i] == null) continue;
209 for (int j = 0; j < fontData.glyphs[i].length; j++) { [all...] |
/external/harfbuzz_ng/src/ |
sample.py | 21 fontdata = open (sys.argv[1], 'rb').read () variable 25 blob = hb.glib_blob_create (GLib.Bytes.new (fontdata))
|
/external/skia/src/fonts/ |
SkTestScalerContext.cpp | 20 SkTestFont::SkTestFont(const SkTestFontData& fontData) 22 , fCharCodes(fontData.fCharCodes) 23 , fCharCodesCount(fontData.fCharCodesCount) 24 , fWidths(fontData.fWidths) 25 , fMetrics(fontData.fMetrics) 26 , fName(fontData.fName) 29 init(fontData.fPoints, fontData.fVerbs);
|
/external/skia/src/sfnt/ |
SkOTUtils.cpp | 36 SkData* SkOTUtils::RenameFont(SkStreamAsset* fontData, const char* fontName, int fontNameLen) { 40 if (fontData->read(&sfntHeader, sizeof(sfntHeader)) < sizeof(sfntHeader)) { 49 if (fontData->read(&tableEntry, sizeof(tableEntry)) < sizeof(tableEntry)) { 60 if (!fontData->rewind()) { 83 size_t originalDataSize = fontData->getLength() - oldNameTablePhysicalSize; 89 if (fontData->read(data, oldNameTableOffset) < oldNameTableOffset) { 92 if (fontData->skip(oldNameTablePhysicalSize) < oldNameTablePhysicalSize) { 95 if (fontData->read(data + oldNameTableOffset, originalDataSize - oldNameTableOffset) < originalDataSize - oldNameTableOffset) {
|
SkOTUtils.h | 37 * Does not affect fontData's ownership. 39 static SkData* RenameFont(SkStreamAsset* fontData, const char* fontName, int fontNameLen);
|
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g2d/ |
GlyphLayout.java | 87 BitmapFontData fontData = font.data; 88 boolean markupEnabled = fontData.markupEnabled; 141 fontData.getGlyphs(run, str, runStart, runEnd, colorRun); 155 && x - xAdvance + (run.glyphs.get(i - 1).xoffset + run.glyphs.get(i - 1).width) * fontData.scaleX 159 truncate(fontData, run, targetWidth, truncate, i, glyphRunPool); 164 int wrapIndex = fontData.getWrapIndex(run.glyphs, i); 173 next = wrap(fontData, run, glyphRunPool, wrapIndex, i); 180 y += fontData.down; 198 y += fontData.down; 236 this.height = fontData.capHeight + lines * fontData.lineHeight [all...] |
/external/skia/src/core/ |
SkFontDescriptor.cpp | 132 SkAutoTDelete<SkStreamAsset> fontData(fFontData->detachStream()); 133 size_t length = fontData->getLength(); 135 stream->writeStream(fontData, length);
|
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/utils/ui/ |
DrawUtils.java | 18 import org.eclipse.swt.graphics.FontData; 372 FontData[] boldData = getModifiedFontData(baseFont, SWT.BOLD); 380 FontData[] boldData = getModifiedFontData(baseFont, SWT.BOLD | SWT.ITALIC); 388 FontData[] boldData = getModifiedFontData(baseFont, SWT.ITALIC); 393 * @return the array of {@link FontData} with the specified style. 395 private static FontData[] getModifiedFontData(Font baseFont, int style) { 396 FontData[] baseData = baseFont.getFontData(); 397 FontData[] styleData = new FontData[baseData.length]; 399 FontData base = baseData[i] [all...] |
/external/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/src/type1/ |
t1load.h | 49 FT_Bool fontdata; member in struct:T1_Loader_
|
/external/pdfium/third_party/freetype/src/type1/ |
t1load.h | 49 FT_Bool fontdata; member in struct:T1_Loader_
|
/external/pdfium/ |
pdfium.gyp | 525 'core/src/fxge/fontdata/chromefontdata/chromefontdata.h', 526 'core/src/fxge/fontdata/chromefontdata/FoxitDingbats.c', 527 'core/src/fxge/fontdata/chromefontdata/FoxitFixed.c', 528 'core/src/fxge/fontdata/chromefontdata/FoxitFixedBold.c', 529 'core/src/fxge/fontdata/chromefontdata/FoxitFixedBoldItalic.c', 530 'core/src/fxge/fontdata/chromefontdata/FoxitFixedItalic.c', 531 'core/src/fxge/fontdata/chromefontdata/FoxitSans.c', 532 'core/src/fxge/fontdata/chromefontdata/FoxitSansBold.c', 533 'core/src/fxge/fontdata/chromefontdata/FoxitSansBoldItalic.c', 534 'core/src/fxge/fontdata/chromefontdata/FoxitSansItalic.c' [all...] |
/external/skia/tests/ |
FontHostStreamTest.cpp | 100 SkAutoTDelete<SkStreamAsset> fontData(origTypeface->openStream(&ttcIndex)); 101 SkTypeface* streamTypeface = SkTypeface::CreateFromStream(fontData.detach());
|
/frameworks/base/libs/hwui/hwui/ |
MinikinSkia.cpp | 25 MinikinFontSkia::MinikinFontSkia(SkTypeface* typeface, const void* fontData, size_t fontSize, 27 MinikinFont(typeface->uniqueID()), mTypeface(typeface), mFontData(fontData),
|