font_set(),
font_set_liberation(), and font_set_auto()
provide a unified way to configure font aliases, register fonts with
‘systemfonts’, and generate ‘htmlDependency’ objects in a single step.
Helper functions font_google() and
font_liberation() declare individual font sources.register_liberationsans(),
register_liberationserif() and
register_liberationmono() gain a name
parameter to register Liberation fonts under a custom family name
(e.g. "sans", "serif", "mono").
Default values are unchanged.str_extents().LinkingTo: gdtools anymore.strings_sizes(): italic text was
incorrectly measured as bold-italic (face 4 instead of face 3).strings_sizes() now re-uses Cairo text measurement
instead of systemfonts::string_metrics_dev(). Callers no
longer need a ragg device open for accurate metrics. The measurements
are accurate for devices that use Cairo or ‘systemfonts’ (ragg, svglite,
ggiraph, cairo_pdf(), …).set_dummy_conf() that should be removed from
the package in a later version.raster_* functions not used anymoreinstall_gfont_script() can now directly generate a
script file ready to be executed to install a ‘Google Font’, use
argument file.gfonts::get_all_fonts(). This should
enable usage for those with no access to website used by ‘gfonts’.installed_gfonts() to list installed font
from ‘Google’glyphs_match to test whether glyphs in
strings are all existing in a font table or not.
Need a high-speed mirror for your open-source project?
Contact our mirror admin team at info@clientvps.com.
This archive is provided as a free public service to the community.
Proudly supported by infrastructure from VPSPulse , RxServers , BuyNumber , UnitVPS , OffshoreName and secure payment technology by ArionPay.