LibreOffice Module vcl (master)  1
Functions | Variables
PhysicalFontCollection.cxx File Reference
#include <memory>
#include <i18nlangtag/languagetag.hxx>
#include <i18nlangtag/mslangid.hxx>
#include <unotools/configmgr.hxx>
#include <unotools/fontdefs.hxx>
#include <outdev.h>
#include <PhysicalFontCollection.hxx>
Include dependency graph for PhysicalFontCollection.cxx:

Go to the source code of this file.

Functions

static ImplFontAttrs lcl_IsCJKFont (const OUString &rFontName)
 
static bool FindMetricCompatibleFont (FontSelectPattern &rFontSelData)
 

Variables

static const std::vector< std::pair< OUString, OUString > > aMetricCompatibleMap
 

Function Documentation

static bool FindMetricCompatibleFont ( FontSelectPattern rFontSelData)
static
static ImplFontAttrs lcl_IsCJKFont ( const OUString &  rFontName)
static

Definition at line 30 of file PhysicalFontCollection.cxx.

References i.

Referenced by PhysicalFontCollection::FindFontFamily().

Variable Documentation

const std::vector<std::pair<OUString, OUString> > aMetricCompatibleMap
static
Initial value:
=
{
{ "Times New Roman", "Liberation Serif" },
{ "Arial", "Liberation Sans" },
{ "Arial Narrow", "Liberation Sans Narrow" },
{ "Courier New", "Liberation Mono" },
{ "Cambria", "Caladea" },
{ "Calibri", "Carlito" },
}

Definition at line 922 of file PhysicalFontCollection.cxx.

Referenced by FindMetricCompatibleFont().