embedded bitmaps patch (Re: Trouble forcing rescanning of font dirs)

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

 



Behdad Esfahbod <behdad@xxxxxxxxxx> さんは書きました:
> Mike FABIAN wrote:>> http://download.opensuse.org/repositories/M17N/SUSE_Factory/src/fontconfig-2.6.0-10.2.src.rpm>> Lots of stuff here, and not enough documentation.  I'm going through the> patches right now (conf files are the other useful set).  Many of the patches> look like are not actually used by the RPM anymore and are from 2.3.94 days.> Certainly obsolete.
Yes, I will delete them soon. I kept some old patches for reference fora while but I will really delete the very old ones now.
[...]
I try to answer each question in a separate mail.
First about the embedded bitmaps:
> 28937-turn-off-embedded-bitmaps-by-default.patch:  Any reason why you're not> doing this in config files instead?
Yes, this patch is obsolete and it is not applied anymore. We are doingthis embedded bitmap enabling/disabling in the config files for a longtime already, see suse-hinting.conf in the source.rpm. Therefore thispatch isn't applied for a long time. For the original reason of thepatch see
https://bugzilla.novell.com/show_bug.cgi?id=128937

Zhe Su wanted to have embedded bitmaps off by default. But he wantedthem turned on for Chinese. He is Chinese.  There are very few non CJKfonts with embedded bitmaps, the only one I currently know seems to beMicrosoft’s "Courier New". But the bitmaps in "Courier New" seem to befew and not really important. Maybe Zhe Su wanted to have themturned of by default because there are some non-CJK fontswhere they cause problems? I don’t know and the original bugdoesn’t say either. 
Currently we do this:
        <match target="font">                <edit name="embeddedbitmap" mode="assign">                        <bool>false</bool>                </edit>        </match>        <match target="font">                <test name="lang" compare="contains">                        <string>ja</string>                        <string>ko</string>                        <string>zh-CN</string>                        <string>zh-TW</string>                        <string>zh-HK</string>                        <string>zh-SG</string>                </test>                <edit name="embeddedbitmap" mode="assign">                        <bool>true</bool>                </edit>        </match>
which achieves the same what Zhe Su wanted but in the config files.
And, because of user request we disable embedded bitmaps for the IPAfonts because it doesn’t really make sense to get a bitmap at 12 pixels,an anti-aliased outline at 13 and a bitmap again at 14:
<!--    The IPA fonts have bitmaps only in 12, 14, and 16 pixels.    That is rather useless, it is not nice to see a bitmaps at 12    pixels, antialiased glyphs at 13 pixels and bitmaps at 14    pixels again.-->       <match target="font">               <test name="family">                       <string>IPAMincho</string>                       <string>IPAGothic</string>                       <string>IPAPMincho</string>                       <string>IPAPGothic</string>                       <string>IPAUIGothic</string>               </test>               <edit name="autohint">                       <bool>false</bool>               </edit>               <edit name="embeddedbitmap">                       <bool>false</bool>               </edit>       </match>

-- Mike FABIAN   <mfabian@xxxxxxx>   http://www.suse.de/~mfabian睡眠不足はいい仕事の敵だ。I � Unicode_______________________________________________Fontconfig mailing listFontconfig@xxxxxxxxxxxxxxxxxxxxxxxxx://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