LibreOffice Module vcl (master) 1
|
A PhysicalFontFaceCollection is created by a PhysicalFontCollection and becomes invalid when original PhysicalFontCollection is modified. More...
Classes | |
struct | ColorLayer |
class | DirectFontSubstitution |
DirectFontSubstitution is for Tools->Options->FontReplacement and PsPrinter substitutions The class is just a simple port of the unmaintainable manual-linked-list based mechanism. More... | |
class | EmphasisMark |
struct | Feature |
class | FeatureCollector |
class | FeatureDefinition |
struct | FeatureParameter |
class | FeatureParser |
struct | FeatureSetting |
struct | FontMatchStatus |
class | FontSelectPattern |
struct | FontSubstEntry |
class | FontSubstitution |
class | GlyphFallbackFontSubstitution |
Abstracts the concept of finding the best font to support an incomplete font. More... | |
class | OpenTypeFeatureDefinitionListPrivate |
class | PhysicalFontCollection |
class | PhysicalFontFace |
abstract base class for physical font faces More... | |
class | PhysicalFontFaceCollection |
class | PhysicalFontFamily |
class | PreMatchFontSubstitution |
Abstracts the concept of a configured font substitution before the availability of the originally selected font has been checked. More... | |
struct | RawFontData |
Typedefs | |
typedef std::vector< Color > | ColorPalette |
Functions | |
void | ImplFontSubstitute (OUString &rFontName) |
OUString | featureCodeAsString (uint32_t nFeature) |
OUString | trimFontNameFeatures (OUString const &rFontName) |
OpenTypeFeatureDefinitionListPrivate & | OpenTypeFeatureDefinitionList () |
static bool | FindMetricCompatibleFont (FontSelectPattern &rFontSelData) |
static int | FamilyNameMatchValue (FontSelectPattern const &rFSP, std::u16string_view sFontFamily) |
static int | StyleNameMatchValue (FontMatchStatus const &rStatus, std::u16string_view rStyle) |
static int | PitchMatchValue (FontSelectPattern const &rFSP, FontPitch ePitch) |
static int | PreferNormalFontWidthMatchValue (FontWidth eWidthType) |
static int | WeightMatchValue (FontSelectPattern const &rFSP, FontWeight eWeight) |
static int | ItalicMatchValue (FontSelectPattern const &rFSP, FontItalic eItalic) |
static hb_blob_t * | getTable (hb_face_t *, hb_tag_t nTag, void *pUserData) |
static ImplFontAttrs | lcl_IsCJKFont (std::u16string_view rFontName) |
constexpr uint32_t | featureCode (const char sFeature[4]) |
Variables | |
const std::vector< std::pair< OUString, OUString > > | aMetricCompatibleMap |
constexpr const char | FeaturePrefix = ':' |
constexpr const char | FeatureSeparator = '&' |
A PhysicalFontFaceCollection is created by a PhysicalFontCollection and becomes invalid when original PhysicalFontCollection is modified.
typedef std::vector<Color> vcl::font::ColorPalette |
Definition at line 101 of file PhysicalFontFace.hxx.
|
strong |
Enumerator | |
---|---|
BOOL | |
ENUM |
Definition at line 29 of file Feature.hxx.
|
strong |
Enumerator | |
---|---|
OpenType | |
Graphite |
Definition at line 35 of file Feature.hxx.
|
strong |
Enumerator | |
---|---|
NONE | |
Scalable | |
Symbol | |
NoneSymbol | |
Light | |
Bold | |
Normal | |
NoneItalic | |
Italic |
Definition at line 34 of file PhysicalFontFamily.hxx.
enum vcl::font::NameID : hb_ot_name_id_t |
Definition at line 104 of file PhysicalFontFace.hxx.
|
static |
Definition at line 86 of file PhysicalFontFace.cxx.
References vcl::font::FontSelectPattern::maTargetName.
Referenced by vcl::font::PhysicalFontFace::IsBetterMatch().
|
constexpr |
Definition at line 21 of file Feature.hxx.
Referenced by vcl::font::OpenTypeFeatureDefinitionListPrivate::init().
VCL_DLLPUBLIC OUString vcl::font::featureCodeAsString | ( | uint32_t | nFeature | ) |
Definition at line 19 of file Feature.cxx.
Referenced by vcl::font::FeatureDefinition::getDescription().
|
static |
Definition at line 943 of file PhysicalFontCollection.cxx.
References aMetricCompatibleMap, GetEnglishSearchFontName(), and vcl::font::FontSelectPattern::maSearchName.
Referenced by vcl::font::PhysicalFontCollection::FindFontFamily().
|
static |
Definition at line 227 of file PhysicalFontFace.cxx.
Referenced by vcl::font::PhysicalFontFace::GetHbFace().
void vcl::font::ImplFontSubstitute | ( | OUString & | rFontName | ) |
Definition at line 56 of file DirectFontSubstitution.cxx.
References vcl::font::DirectFontSubstitution::FindFontSubstitute(), GetEnglishSearchFontName(), ImplGetSVData(), ImplSVData::maGDIData, and ImplSVGDIData::mpDirectFontSubst.
Referenced by vcl::font::PhysicalFontCollection::FindFontFamily().
|
static |
Definition at line 167 of file PhysicalFontFace.cxx.
References FontAttributes::GetItalic(), ITALIC_NONE, and vcl::font::FontSelectPattern::maItalicMatrix.
Referenced by vcl::font::PhysicalFontFace::IsBetterMatch().
|
static |
Definition at line 62 of file PhysicalFontFamily.cxx.
Referenced by vcl::font::PhysicalFontCollection::FindFontFamily(), and vcl::font::PhysicalFontFamily::InitMatchData().
VCL_DLLPUBLIC OpenTypeFeatureDefinitionListPrivate & vcl::font::OpenTypeFeatureDefinitionList | ( | ) |
Definition at line 20 of file OpenTypeFeatureDefinitionList.cxx.
Referenced by vcl::font::FeatureCollector::collectForTable().
|
static |
Definition at line 105 of file PhysicalFontFace.cxx.
References FontAttributes::GetPitch(), and PITCH_DONTKNOW.
Referenced by vcl::font::PhysicalFontFace::IsBetterMatch().
Definition at line 113 of file PhysicalFontFace.cxx.
References WIDTH_NORMAL, WIDTH_SEMI_CONDENSED, and WIDTH_SEMI_EXPANDED.
Referenced by vcl::font::PhysicalFontFace::IsBetterMatch().
|
static |
Definition at line 96 of file PhysicalFontFace.cxx.
References o3tl::equalsIgnoreAsciiCase(), and vcl::font::FontMatchStatus::mpTargetStyleName.
Referenced by vcl::font::PhysicalFontFace::IsBetterMatch().
VCL_DLLPUBLIC OUString vcl::font::trimFontNameFeatures | ( | OUString const & | rFontName | ) |
Definition at line 17 of file FeatureParser.cxx.
References FeaturePrefix.
|
static |
Definition at line 124 of file PhysicalFontFace.cxx.
References FontAttributes::GetWeight(), vcl::font::FontSelectPattern::mbEmbolden, WEIGHT_DONTKNOW, WEIGHT_LIGHT, WEIGHT_MEDIUM, WEIGHT_NORMAL, WEIGHT_SEMIBOLD, and WEIGHT_SEMILIGHT.
Referenced by vcl::font::PhysicalFontFace::IsBetterMatch().
const std::vector<std::pair<OUString, OUString> > vcl::font::aMetricCompatibleMap |
Definition at line 933 of file PhysicalFontCollection.cxx.
Referenced by FindMetricCompatibleFont().
|
constexpr |
Definition at line 23 of file FeatureParser.hxx.
Referenced by vcl::font::FeatureParser::FeatureParser(), and trimFontNameFeatures().
|
constexpr |
Definition at line 24 of file FeatureParser.hxx.
Referenced by vcl::font::FeatureParser::FeatureParser().