Home
last modified time | relevance | path

Searched refs:font (Results 1 – 25 of 268) sorted by relevance

1234567891011

/external/freetype/src/cff/
Dcffload.c1239 cff_subfont_load( CFF_SubFont font, in cff_subfont_load() argument
1249 CFF_FontRecDict top = &font->font_dict; in cff_subfont_load()
1250 CFF_Private priv = &font->private_dict; in cff_subfont_load()
1253 cff_parser_init( &parser, CFF_CODE_TOPDICT, &font->font_dict ); in cff_subfont_load()
1306 if ( FT_STREAM_SEEK( base_offset + font->font_dict.private_offset ) || in cff_subfont_load()
1307 FT_FRAME_ENTER( font->font_dict.private_size ) ) in cff_subfont_load()
1328 error = cff_index_init( &font->local_subrs_index, stream, 1 ); in cff_subfont_load()
1332 font->num_local_subrs = font->local_subrs_index.count; in cff_subfont_load()
1333 error = cff_index_get_pointers( &font->local_subrs_index, in cff_subfont_load()
1334 &font->local_subrs ); in cff_subfont_load()
[all …]
/external/webkit/WebKitTools/CodeCoverage/
Dgcov.css3 font-family: Helvetica,Arial,sans-serif;
10 font-weight:bold;
11 font-style:italic;
12 font-size:1.8em;
25 font-weight:bold;
30 font-weight:bold;
36 font-weight:bold;
43 font-family: Courier;
59 font-family: Times;
61 font-weight:bold;
[all …]
/external/webkit/WebCore/platform/graphics/qt/
DFontQt43.cpp42 TextRunComponent() : font(0) {} in TextRunComponent()
43 …TextRunComponent(const UChar *start, int length, bool rtl, const QFont *font, int offset, bool sc …
44 TextRunComponent(int spaces, bool rtl, const QFont *font, int offset);
49 const QFont *font; member
57 , font(f) in TextRunComponent()
64 width = QFontMetrics(*font).width(string); in TextRunComponent()
69 , font(f) in TextRunComponent()
74 width = spaces * QFontMetrics(*font).width(QLatin1Char(' ')); in TextRunComponent()
78 static int generateComponents(Vector<TextRunComponent, 1024>* components, const Font &font, const T… in generateComponents() argument
81 int letterSpacing = font.letterSpacing(); in generateComponents()
[all …]
DFontCustomPlatformData.cpp39 QFont font; in fontPlatformData() local
40 font.setFamily(QFontDatabase::applicationFontFamilies(m_handle)[0]); in fontPlatformData()
41 font.setPixelSize(size); in fontPlatformData()
43 font.setWeight(QFont::Bold); in fontPlatformData()
44 font.setItalic(italic); in fontPlatformData()
46 return FontPlatformData(font, bold); in fontPlatformData()
/external/tinyxml/docs/
Ddoxygen.css2 font-family: Geneva, Arial, Helvetica, sans-serif;
5 font-size: 90%;
9 font-size: 160%;
12 font-size: 120%;
15 font-size: 100%;
17 CAPTION { font-weight: bold }
45 font-size: 70%;
49 font-weight: bold;
54 font-weight: bold;
63 font-weight: bold;
[all …]
/external/opencore/doc/pvauthor_html/
Ddoxygen.css2 CAPTION { font-weight: bold }
5 A.el { text-decoration: none; font-weight: bold }
6 A.elRef { font-weight: bold }
7 A.code { text-decoration: none; font-weight: normal; color: #4444ee }
8 A.codeRef { font-weight: normal; color: #4444ee }
12 DIV.ah { background-color: black; font-weight: bold; color: #ffffff; margin-bottom: 3px; margin-top…
13 TD.md { background-color: #f2f2ff; font-weight: bold; }
14 TD.mdname1 { background-color: #f2f2ff; font-weight: bold; color: #602020; }
15 TD.mdname { background-color: #f2f2ff; font-weight: bold; color: #602020; width: 600px; }
16 DIV.groupHeader { margin-left: 16px; margin-top: 12px; margin-bottom: 6px; font-weight: bold }
[all …]
/external/opencore/doc/pvplayer_html/
Ddoxygen.css2 CAPTION { font-weight: bold }
5 A.el { text-decoration: none; font-weight: bold }
6 A.elRef { font-weight: bold }
7 A.code { text-decoration: none; font-weight: normal; color: #4444ee }
8 A.codeRef { font-weight: normal; color: #4444ee }
12 DIV.ah { background-color: black; font-weight: bold; color: #ffffff; margin-bottom: 3px; margin-top…
13 TD.md { background-color: #f2f2ff; font-weight: bold; }
14 TD.mdname1 { background-color: #f2f2ff; font-weight: bold; color: #602020; }
15 TD.mdname { background-color: #f2f2ff; font-weight: bold; color: #602020; width: 600px; }
16 DIV.groupHeader { margin-left: 16px; margin-top: 12px; margin-bottom: 6px; font-weight: bold }
[all …]
/external/opencore/doc/pv2way_html/
Ddoxygen.css2 CAPTION { font-weight: bold }
5 A.el { text-decoration: none; font-weight: bold }
6 A.elRef { font-weight: bold }
7 A.code { text-decoration: none; font-weight: normal; color: #4444ee }
8 A.codeRef { font-weight: normal; color: #4444ee }
12 DIV.ah { background-color: black; font-weight: bold; color: #ffffff; margin-bottom: 3px; margin-top…
13 TD.md { background-color: #f2f2ff; font-weight: bold; }
14 TD.mdname1 { background-color: #f2f2ff; font-weight: bold; color: #602020; }
15 TD.mdname { background-color: #f2f2ff; font-weight: bold; color: #602020; width: 600px; }
16 DIV.groupHeader { margin-left: 16px; margin-top: 12px; margin-bottom: 6px; font-weight: bold }
[all …]
/external/opencore/doc/oscl_html/
Ddoxygen.css2 CAPTION { font-weight: bold }
5 A.el { text-decoration: none; font-weight: bold }
6 A.elRef { font-weight: bold }
7 A.code { text-decoration: none; font-weight: normal; color: #4444ee }
8 A.codeRef { font-weight: normal; color: #4444ee }
12 DIV.ah { background-color: black; font-weight: bold; color: #ffffff; margin-bottom: 3px; margin-top…
13 TD.md { background-color: #f2f2ff; font-weight: bold; }
14 TD.mdname1 { background-color: #f2f2ff; font-weight: bold; color: #602020; }
15 TD.mdname { background-color: #f2f2ff; font-weight: bold; color: #602020; width: 600px; }
16 DIV.groupHeader { margin-left: 16px; margin-top: 12px; margin-bottom: 6px; font-weight: bold }
[all …]
/external/webkit/WebCore/platform/graphics/chromium/
DUniscribeHelperTextRun.cpp41 const Font& font) in UniscribeHelperTextRun() argument
43 font.primaryFont()->platformData().hfont(), in UniscribeHelperTextRun()
44 font.primaryFont()->platformData().scriptCache(), in UniscribeHelperTextRun()
45 font.primaryFont()->platformData().scriptFontProperties()) in UniscribeHelperTextRun()
46 , m_font(&font) in UniscribeHelperTextRun()
50 setLetterSpacing(font.letterSpacing()); in UniscribeHelperTextRun()
51 setSpaceWidth(font.spaceWidth()); in UniscribeHelperTextRun()
52 setWordSpacing(font.wordSpacing()); in UniscribeHelperTextRun()
53 setAscent(font.primaryFont()->ascent()); in UniscribeHelperTextRun()
77 void UniscribeHelperTextRun::tryToPreloadFont(HFONT font) in tryToPreloadFont() argument
[all …]
/external/webkit/WebCore/platform/win/
DWebCoreTextRenderer.cpp48 …sContext& context, const String& text, const IntPoint& point, const Font& font, const Color& color… in doDrawTextAtPoint() argument
54 font.drawText(&context, run, point); in doDrawTextAtPoint()
56 context.drawBidiText(font, run, point); in doDrawTextAtPoint()
64 beforeWidth = font.width(beforeRun); in doDrawTextAtPoint()
69 int underlinedWidth = font.width(underlinedRun); in doDrawTextAtPoint()
79 …sContext& context, const String& text, const IntPoint& point, const Font& font, const Color& color… in WebCoreDrawTextAtPoint() argument
83 doDrawTextAtPoint(context, text, point, font, color, underlinedIndex); in WebCoreDrawTextAtPoint()
88 …sContext& context, const String& text, const IntPoint& point, const Font& font, const Color& topCo… in WebCoreDrawDoubledTextAtPoint() argument
94 doDrawTextAtPoint(context, text, textPos, font, bottomColor, underlinedIndex); in WebCoreDrawDoubledTextAtPoint()
96 doDrawTextAtPoint(context, text, textPos, font, topColor, underlinedIndex); in WebCoreDrawDoubledTextAtPoint()
[all …]
/external/webkit/WebCore/platform/graphics/mac/
DSimpleFontDataMac.mm109 static NSString* pathFromFont(NSFont *font)
112 ATSFontRef atsFont = FMGetATSFontRefFromFont(CTFontGetPlatformFont(toCTFontRef(font), 0));
114 ATSFontRef atsFont = FMGetATSFontRefFromFont(wkGetNSFontATSUFontId(font));
159 // Ack! Something very bad happened, like a corrupt font.
160 // Try looking for an alternate 'base' font for this renderer.
163 // "Times RO" is a common font whose family name is "Times".
164 // It overrides the normal "Times" family font.
167 if ([[m_font.font() familyName] isEqual:@"Times"])
172 // Try setting up the alternate font.
173 // This is a last ditch effort to use a substitute font when something has gone wrong.
[all …]
DFontMac.mm45 void Font::drawGlyphs(GraphicsContext* context, const SimpleFontData* font, const GlyphBuffer& glyp…
55 const FontPlatformData& platformData = font->platformData();
58 drawFont = [platformData.font() screenFont];
59 if (drawFont != platformData.font())
61 …LOG_ERROR("Attempting to set non-screen font (%@) when drawing to screen. Using screen font anywa…
62 … [[[platformData.font() fontDescriptor] fontAttributes] objectForKey:NSFontNameAttribute]);
64 drawFont = [platformData.font() printerFont];
65 if (drawFont != platformData.font())
66 …NSLog(@"Attempting to set non-printer font (%@) when printing. Using printer font anyway, may res…
67 … [[[platformData.font() fontDescriptor] fontAttributes] objectForKey:NSFontNameAttribute]);
[all …]
DFontPlatformDataMac.mm2 * This file is part of the internal font implementation.
78 void FontPlatformData::setFont(NSFont *font)
80 if (m_font == font)
82 if (font)
83 CFRetain(font);
86 m_font = font;
87 m_size = font ? [font pointSize] : 0.0f;
89 m_cgFont.adoptCF(CTFontCopyGraphicsFont(toCTFontRef(font), 0));
90 m_atsuFontID = CTFontGetPlatformFont(toCTFontRef(font), 0);
92 m_cgFont = wkGetCGFontFromNSFont(font);
[all …]
/external/webkit/WebCore/platform/graphics/win/
DFontCGWin.cpp130 static void drawGDIGlyphs(GraphicsContext* graphicsContext, const SimpleFontData* font, const Glyph… in drawGDIGlyphs() argument
168 int lineGap = font->lineGap(); in drawGDIGlyphs()
169 …oint.x() - (font->ascent() + font->descent()) / 2, point.y() - font->ascent() - lineGap, totalWidt… in drawGDIGlyphs()
184 SelectObject(hdc, font->m_font.hfont()); in drawGDIGlyphs()
212 …xform.eM21 = font->platformData().syntheticOblique() ? -tanf(syntheticObliqueAngle * piFloat / 180… in drawGDIGlyphs()
218 if (font->m_syntheticBoldOffset) { in drawGDIGlyphs()
220 xform.eDx = font->m_syntheticBoldOffset; in drawGDIGlyphs()
232 if (font->platformData().syntheticOblique()) in drawGDIGlyphs()
258 if (font->m_syntheticBoldOffset) { in drawGDIGlyphs()
259 CGContextTranslateCTM(cgContext, font->m_syntheticBoldOffset, 0); in drawGDIGlyphs()
[all …]
DSimpleFontDataCGWin.cpp63 CGFontRef font = m_font.cgFont(); in platformInit() local
64 int iAscent = CGFontGetAscent(font); in platformInit()
65 int iDescent = CGFontGetDescent(font); in platformInit()
66 int iLineGap = CGFontGetLeading(font); in platformInit()
67 m_unitsPerEm = CGFontGetUnitsPerEm(font); in platformInit()
107 CGFontGetGlyphBBoxes(font, &xGlyph, 1, &xBox); in platformInit()
114 int iXHeight = CGFontGetXHeight(font); in platformInit()
129 CGFontRef font = m_font.cgFont(); in platformWidthForGlyph() local
136 wkGetGlyphAdvances(font, m, m_isSystemFont, isPrinterFont, glyph, advance); in platformWidthForGlyph()
/external/icu4c/test/letest/
Dcletest.c40 le_font *font = le_simpleFontOpen(12, &status); in ParamTest() local
41 le_engine *engine = le_create(font, arabScriptCode, -1, 0, &status); in ParamTest()
181 le_fontClose(font); in ParamTest()
189 le_font *font = le_simpleFontOpen(12, &status); in FactoryTest() local
195 engine = le_create(font, scriptCode, -1, 0, &status); in FactoryTest()
204 le_fontClose(font); in FactoryTest()
212 le_font *font = le_simpleFontOpen(12, &status); in AccessTest() local
213 le_engine *engine =le_create(font, arabScriptCode, -1, 0, &status); in AccessTest()
280 le_fontClose(font); in AccessTest()
335 static void checkFontVersion(le_font *font, const char *testVersionString, in checkFontVersion() argument
[all …]
Dcfonts.cpp27 void le_fontClose(le_font *font) in le_fontClose() argument
29 LEFontInstance *fontInstance = (LEFontInstance *) font; in le_fontClose()
34 const char *le_getNameString(le_font *font, le_uint16 nameID, le_uint16 platform, le_uint16 encodin… in le_getNameString() argument
36 PortableFontInstance *pfi = (PortableFontInstance *) font; in le_getNameString()
41 void le_deleteNameString(le_font *font, const char *name) in le_deleteNameString() argument
43 PortableFontInstance *pfi = (PortableFontInstance *) font; in le_deleteNameString()
48 le_uint32 le_getFontChecksum(le_font *font) in le_getFontChecksum() argument
50 PortableFontInstance *pfi = (PortableFontInstance *) font; in le_getFontChecksum()
/external/tremor/Tremor/doc/
Dstyle.css1 BODY { font-family: Helvetica, sans-serif }
2 TD { font-family: Helvetica, sans-serif }
3 P { font-family: Helvetica, sans-serif }
4 H1 { font-family: Helvetica, sans-serif }
5 H2 { font-family: Helvetica, sans-serif }
6 H4 { font-family: Helvetica, sans-serif }
7 P.tiny { font-size: 8pt }
/external/webkit/WebCore/platform/wx/wxcode/gtk/
Dfontprops.cpp34 wxFontProperties::wxFontProperties(wxFont* font): in wxFontProperties() argument
40 if ( font && font->Ok() ) in wxFontProperties()
45 font->GetNativeFontInfo()->description in wxFontProperties()
49 …PangoFontMetrics* metrics = pango_context_get_metrics (context, font->GetNativeFontInfo()->descrip… in wxFontProperties()
51 int height = font->GetPixelSize().GetHeight(); in wxFontProperties()
69 void GetTextExtent( const wxFont& font, const wxString& str, wxCoord *width, wxCoord *height, in GetTextExtent() argument
87 if ( font != wxNullFont ) in GetTextExtent()
92 font.GetNativeFontInfo()->description in GetTextExtent()
/external/webkit/WebCore/rendering/
DRenderListMarker.cpp618 const Font& font = style()->font(); in paint() local
620 int width = font.width(textRun); in paint()
621 context->drawText(style()->font(), textRun, marker.location()); in paint()
623 …context->drawText(style()->font(), TextRun(periodSpace, 2), marker.location() + IntSize(width, 0)); in paint()
627 int width = font.width(spacePeriodRun); in paint()
628 context->drawText(style()->font(), spacePeriodRun, marker.location()); in paint()
629 context->drawText(style()->font(), textRun, marker.location() + IntSize(width, 0)); in paint()
643 setHeight(style()->font().height()); in layout()
676 const Font& font = style()->font(); in calcPrefWidths() local
681 int bulletWidth = font.ascent() / 2; in calcPrefWidths()
[all …]
DSVGInlineTextBox.cpp80 …return style->font().floatWidth(svgTextRunForInlineTextBox(textObject()->text()->characters() + of… in calculateGlyphWidth()
87 return style->font().ascent() + style->font().descent(); in calculateGlyphHeight()
92 const Font& font = style->font(); in calculateGlyphBoundaries() local
108 float y1 = svgChar.y - font.ascent(); in calculateGlyphBoundaries()
109 float y2 = svgChar.y + font.descent(); in calculateGlyphBoundaries()
349 const Font& font = styleToUse->font(); in paintCharacters() local
365 paintCompositionBackground(paintInfo.context, tx, ty, styleToUse, font, in paintCharacters()
369 paintDocumentMarkers(paintInfo.context, tx, ty, styleToUse, font, true); in paintCharacters()
373 … paintSelection(boxStartOffset, svgChar, chars, length, paintInfo.context, styleToUse, font); in paintCharacters()
396 paintInfo.context->drawText(font, run, origin); in paintCharacters()
[all …]
/external/webkit/WebCore/platform/graphics/android/
DFontAndroid.cpp48 static void updateForFont(SkPaint* paint, const SimpleFontData* font) { in updateForFont() argument
49 font->platformData().setupPaint(paint); in updateForFont()
54 const SimpleFontData* font) { in setupFill() argument
56 updateForFont(paint, font); in setupFill()
61 const SimpleFontData* font) { in setupStroke() argument
63 updateForFont(paint, font); in setupStroke()
68 const SimpleFontData* font) { in setupForText() argument
80 strokeP = setupStroke(looper->addLayer(), gc, font); in setupForText()
84 fillP = setupFill(looper->addLayer(), gc, font); in setupForText()
98 updateForFont(p, font); in setupForText()
[all …]
/external/webkit/WebCore/platform/graphics/wx/
DFontCacheWx.cpp42 const SimpleFontData* FontCache::getFontDataForCharacters(const Font& font, const UChar* characters… in getFontDataForCharacters() argument
45 fontData = new SimpleFontData(FontPlatformData(font.fontDescription(), font.family().family())); in getFontDataForCharacters()
49 FontPlatformData* FontCache::getSimilarFontPlatformData(const Font& font) in getSimilarFontPlatformData() argument
51 return new FontPlatformData(font.fontDescription(), font.family().family()); in getSimilarFontPlatformData()
/external/icu4c/samples/layout/
DSurface.cpp5 void GDISurface::setFont(RenderingFontInstance *font) in setFont() argument
7 GDIFontInstance *gFont = (GDIFontInstance *) font; in setFont()
9 if (fCurrentFont != font) { in setFont()
10 fCurrentFont = font; in setFont()
15 void GDISurface::drawGlyphs(RenderingFontInstance *font, const LEGlyphID *glyphs, le_int32 count, c… in drawGlyphs() argument
25 setFont(font); in drawGlyphs()

1234567891011