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 <o3tl/sorted_vector.hxx>
#include <outdev.h>
#include <PhysicalFontCollection.hxx>
Include dependency graph for PhysicalFontCollection.cxx:

Go to the source code of this file.


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


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

Function Documentation

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

Definition at line 30 of file PhysicalFontCollection.cxx.

References ch, and i.

Referenced by PhysicalFontCollection::FindFontFamily().

Variable Documentation

const std::vector<std::pair<OUString, OUString> > aMetricCompatibleMap
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 921 of file PhysicalFontCollection.cxx.

Referenced by FindMetricCompatibleFont().