* adding native font descriptor serialization = v2 * remove common xml prefix from serialized string * Update src/osx/carbon/font.cpp Co-authored-by: VZ <vz-github@zeitlins.org> * Update src/osx/carbon/font.cpp Co-authored-by: VZ <vz-github@zeitlins.org> * static string via accessor * striping off xml preamble unconditionally if we use a different format in the future, we will have to increase our version number * applying italic directly to the font descriptor thus preserving attributes in the native font descriptor which we don’t store explicitly yet * Adding support for preserving font width Although we don’t express this in the public API yet, we try to preserve eg condensed, when changing the font width * Adding reference, bug fix double checked the font weight constants, Co-authored-by: VZ <vz-github@zeitlins.org>
12 KiB
12 KiB