OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:fontDesc
(Results
1 - 3
of
3
) sorted by null
/external/pdfium/fpdfsdk/
fpdfedittext.cpp
36
CPDF_Dictionary*
fontDesc
= pDoc->NewIndirect<CPDF_Dictionary>();
37
fontDesc
->SetNewFor<CPDF_Name>("Type", "FontDescriptor");
38
fontDesc
->SetNewFor<CPDF_Name>("FontName", font_name);
52
fontDesc
->SetNewFor<CPDF_Number>("Flags", flags);
60
fontDesc
->SetFor("FontBBox", std::move(pBBox));
63
fontDesc
->SetNewFor<CPDF_Number>("ItalicAngle", pFont->IsItalic() ? -12 : 0);
65
fontDesc
->SetNewFor<CPDF_Number>("Ascent", pFont->GetAscent());
66
fontDesc
->SetNewFor<CPDF_Number>("Descent", pFont->GetDescent());
69
fontDesc
->SetNewFor<CPDF_Number>("CapHeight", pFont->GetAscent());
70
fontDesc
->SetNewFor<CPDF_Number>("StemV", pFont->IsBold() ? 120 : 70)
[
all
...]
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
ShadowTypeface.java
32
private static Map<Long,
FontDesc
> FONTS = new HashMap<>();
34
private
FontDesc
description;
149
FONTS.put(thisFontId, new
FontDesc
(familyName, style));
157
private synchronized static
FontDesc
findById(long fontId) {
169
public
FontDesc
getFontDescription() {
173
public static class
FontDesc
{
177
public
FontDesc
(String familyName, int style) {
187
FontDesc
fontDesc
= (
FontDesc
) o
[
all
...]
/external/pdfium/core/fpdfapi/edit/
cpdf_pagecontentgenerator_unittest.cpp
284
CPDF_Dictionary*
fontDesc
= fontDict->GetDictFor("FontDescriptor");
285
ASSERT_TRUE(
fontDesc
);
286
EXPECT_TRUE(
fontDesc
->GetObjNum());
287
EXPECT_EQ("FontDescriptor",
fontDesc
->GetStringFor("Type"));
288
EXPECT_EQ("Helvetica",
fontDesc
->GetStringFor("FontName"));
Completed in 315 milliseconds