diff options
author | Werner Lemberg <wl@gnu.org> | 2017-01-09 11:30:32 +0100 |
---|---|---|
committer | Werner Lemberg <wl@gnu.org> | 2017-01-09 11:30:32 +0100 |
commit | 08fd250e1af0aa16d18012d39462e6ca9bbc6e90 (patch) | |
tree | b27fba059ac270d81ec3534cc32d22ebd2b2cd40 /include/freetype/ftchapters.h | |
parent | f837a50ec3a4f240d73f018f237f9f58631e2ba5 (diff) | |
download | freetype2-08fd250e1af0aa16d18012d39462e6ca9bbc6e90.tar.gz |
[pcf] Make long family names configurable.
The change from 2016-09-29 was too radical (except for people using
the openSuSE GNU/Linux distribution). To ameliorate the situation,
PCF_CONFIG_OPTION_LONG_FAMILY_NAMES gets introduced which controls
the feature; if set, a new PCF property option
`no-long-family-names' can be used to switch this feature off.
* include/freetype/config/ftoption.h, devel/ftoption.h
(PCF_CONFIG_OPTION_LONG_FAMILY_NAMES): New option.
* include/freetype/ftpcfdrv.h: New header file (only containing
comments currently, used for building the documentation).
* include/freetype/config/ftheader.h (FT_PCF_DRIVER_H): New macro.
* src/pcf/pcf.h (PCF_Driver): Add `no_long_family_names' field.
* src/pcf/pcfdrivr.c: Include FT_SERVICE_PROPERTIES_H and
FT_PCF_DRIVER_H.
(pcf_property_set, pcf_property_get): New functions.
(pcf_service_properties): New service.
(pcf_servives): Updated.
(pcf_driver_init) [PCF_CONFIG_OPTION_LONG_FAMILY_NAMES]: Handle
`no_long_family_names'.
* src/pcf/pcfread.c (pcf_load_font): Handle `no_long_family_names'
and PCF_CONFIG_OPTION_LONG_FAMILY_NAMES.
* docs/CHANGES: Updated.
Diffstat (limited to 'include/freetype/ftchapters.h')
-rw-r--r-- | include/freetype/ftchapters.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/freetype/ftchapters.h b/include/freetype/ftchapters.h index ab4389530..a0a121b0a 100644 --- a/include/freetype/ftchapters.h +++ b/include/freetype/ftchapters.h @@ -77,6 +77,7 @@ /* auto_hinter */ /* cff_driver */ /* tt_driver */ +/* pcf_driver */ /* */ /***************************************************************************/ |