Inkscape
Vector Graphics Editor
|
TODO: insert short description here. More...
Go to the source code of this file.
Classes | |
struct | StyleNames |
class | FontFactory |
struct | FontFactory::Hash |
struct | FontFactory::Compare |
Functions | |
PangoFontDescription * | ink_font_description_from_style (SPStyle const *style) |
char const * | sp_font_description_get_family (PangoFontDescription const *fontDescr) |
std::string | getSubstituteFontName (std::string const &font) |
TODO: insert short description here.
Definition in file font-factory.h.
std::string getSubstituteFontName | ( | std::string const & | font | ) |
Definition at line 298 of file font-factory.cpp.
References FontFactory::Face(), Inkscape::Util::EnableSingleton< FontFactory >::get(), name, and sp_font_description_get_family().
Referenced by FontFactory::hasFontFamily().
PangoFontDescription * ink_font_description_from_style | ( | SPStyle const * | style | ) |
Definition at line 55 of file font-factory.cpp.
References SPStyle::font_family, SPStyle::font_stretch, SPStyle::font_style, SPStyle::font_variant, SPStyle::font_variation_settings, SPStyle::font_weight, SP_CSS_FONT_STRETCH_CONDENSED, SP_CSS_FONT_STRETCH_EXPANDED, SP_CSS_FONT_STRETCH_EXTRA_CONDENSED, SP_CSS_FONT_STRETCH_EXTRA_EXPANDED, SP_CSS_FONT_STRETCH_NARROWER, SP_CSS_FONT_STRETCH_NORMAL, SP_CSS_FONT_STRETCH_SEMI_CONDENSED, SP_CSS_FONT_STRETCH_SEMI_EXPANDED, SP_CSS_FONT_STRETCH_ULTRA_CONDENSED, SP_CSS_FONT_STRETCH_ULTRA_EXPANDED, SP_CSS_FONT_STRETCH_WIDER, SP_CSS_FONT_STYLE_ITALIC, SP_CSS_FONT_STYLE_NORMAL, SP_CSS_FONT_STYLE_OBLIQUE, SP_CSS_FONT_VARIANT_NORMAL, SP_CSS_FONT_VARIANT_SMALL_CAPS, SP_CSS_FONT_WEIGHT_100, SP_CSS_FONT_WEIGHT_200, SP_CSS_FONT_WEIGHT_300, SP_CSS_FONT_WEIGHT_400, SP_CSS_FONT_WEIGHT_500, SP_CSS_FONT_WEIGHT_600, SP_CSS_FONT_WEIGHT_700, SP_CSS_FONT_WEIGHT_800, SP_CSS_FONT_WEIGHT_900, SP_CSS_FONT_WEIGHT_BOLD, SP_CSS_FONT_WEIGHT_BOLDER, SP_CSS_FONT_WEIGHT_LIGHTER, and SP_CSS_FONT_WEIGHT_NORMAL.
Referenced by FontFactory::FaceFromStyle(), Inkscape::FontLister::fontspec_from_style(), Inkscape::Text::Layout::InputStreamTextSource::styleGetFontDescription(), and Inkscape::FontLister::update_font_data_recursive().
char const * sp_font_description_get_family | ( | PangoFontDescription const * | fontDescr | ) |
Definition at line 279 of file font-factory.cpp.
Referenced by FontFactory::create_face(), Inkscape::Text::Layout::dumpAsText(), FontFactory::Face(), FontFactory::FaceFromPangoString(), Inkscape::Text::Layout::getFontFamily(), getSubstituteFontName(), FontFactory::GetUIFamilyString(), FontFactory::Compare::operator()(), FontFactory::Hash::operator()(), Inkscape::FontLister::system_fontspec(), and Inkscape::UI::Widget::FontVariants::update_opentype().