Re: [PATCH 1/1] Add lcdfiltercustom option: controls the filter individual weights

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

 



I suspect a list of <double/> or <int/> elements would be better than a <string/>.

Your example would then be either:

  <match target="font">
    <edit mode="assign" name="lcdfilter">
      <const>lcdcustom</const>
    </edit>
  </match>
  <match target="font">
    <edit mode="assign" name="lcdfiltercustom">
      <double>.0625</double>
      <double>.25</double>
      <double>.4375</double>
      <double>.25</double>
      <double>.0625</double>
    </edit>
  </match>

or someting like:

  <match target="font">
    <edit mode="assign" name="lcdfilter">
      <const>lcdcustom</const>
    </edit>
  </match>
  <match target="font">
    <edit mode="assign" name="lcdfiltercustom">
      <int>16</int>
      <int>64</int>
      <int>112</int>
      <int>64</int>
      <int>16</int>
    </edit>
  </match>

if the range is u8.

The dtd needs to be updated to mention this.

An lcdheavy conf.avail file also should be part of the changeset.

Otherwise, I, at least, am very much in favour of this.

-JimC
-- 
James Cloos <cloos@xxxxxxxxxxx>         OpenPGP: 1024D/ED7DAEA6
_______________________________________________
Fontconfig mailing list
Fontconfig@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/fontconfig


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

  Powered by Linux