Re: Another proposal for saving custom fonts in fontconfig

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



  Sorry, I forget to introduce the background of this proposal.

  For variable fonts, there are some axis which can be changed to have
some custom style of the variable fonts. Some users may want to save
the frequent used custom style to use it next time.

  Take some fonts from for example, the user like
the "BC Minim Variable" font with the parameters
and want to save this as some custom style "More Bold".

  Then pango will try to create some custom file format like below:
                <family>BC Minim Variable</family>
                <family>BC Minim Variable</family>
                <style>More Bold</style>

  In this proposal, we won't change the family name, only create or
save the custom style name for easy access.
  We could restrict the syntax to not allow change the family name.

                <style>More Bold</style>

  Actually pango can handle the "fontvariations" string directly
with pango_font_description_set_variations, and fontconfig already
support the "fontvariations" string.
  I think no need to split the "fontvariations" string.

  BTW, I dunno about the PS1 font selection in TEX.
  We won't change the family name, only save the custom style name for
the user.


Fontconfig mailing list

[Index of Archives]     [Fedora Fonts]     [Fedora Users]     [Fedora Cloud]     [Kernel]     [Fedora Packaging]     [Fedora Desktop]     [PAM]     [Gimp Graphics Editor]     [Yosemite News]

  Powered by Linux