[Bug 737215] New: Include the Muzlocker Subpixel Hinted Fonts In Future Versions Of OpenSUSE As The Default
https://bugzilla.novell.com/show_bug.cgi?id=737215 https://bugzilla.novell.com/show_bug.cgi?id=737215#c0 Summary: Include the Muzlocker Subpixel Hinted Fonts In Future Versions Of OpenSUSE As The Default Classification: openSUSE Product: openSUSE 12.2 Version: Factory Platform: All OS/Version: All Status: NEW Severity: Normal Priority: P5 - None Component: Usability AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: gordon@dickens.com QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:8.0) Gecko/20100101 Firefox/8.0 I am providing a suggestion for dramatically improving the fonts in future releases of OpenSUSE. The standard fonts that are provided by default in OpenSUSE are ugly, especially with GTK apps like Firefox and Thunderbird. However, the Muzlocker repo significantly improves the OpenSUSE fonts. The Muzlocker font subpixel hinting is outstanding and far superior to the font hinting that is provided by default with OpenSUSE. In the past, there may have been licensing issues that prevented the use of these fonts, however, these licensing issues are said to no longer apply. See: openSUSE starter: Step 4. Get yer subpixel hinted fonts: openSUSE 11.4 & 12.1 Also: https://build.opensuse.org/project/s...me%3Amuzlocker Reproducible: Always -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=737215
https://bugzilla.novell.com/show_bug.cgi?id=737215#c1
Gordon Dickens
https://bugzilla.novell.com/show_bug.cgi?id=737215
https://bugzilla.novell.com/show_bug.cgi?id=737215#c2
--- Comment #2 from Gordon Dickens
https://bugzilla.novell.com/show_bug.cgi?id=737215
https://bugzilla.novell.com/show_bug.cgi?id=737215#c3
kk zhang
https://bugzilla.novell.com/show_bug.cgi?id=737215
https://bugzilla.novell.com/show_bug.cgi?id=737215#c4
Gordon Dickens
https://bugzilla.novell.com/show_bug.cgi?id=737215
https://bugzilla.novell.com/show_bug.cgi?id=737215#c5
Cristian Morales Vega
https://bugzilla.novell.com/show_bug.cgi?id=737215
https://bugzilla.novell.com/show_bug.cgi?id=737215#c6
Petr Gajdos
The standard fonts that are provided by default in OpenSUSE are ugly,
That's maybe because hintstyle=hintfull is used for both autohinter and BCI, I experimentally set it to hintstyle=hintslight for autohinter in M17N/fontconfig. There is also new version 2.9.0 of fontconfig, so feel free to test (install also fonts-config from there).
especially with GTK apps like Firefox and Thunderbird. However, the Muzlocker repo significantly improves the OpenSUSE fonts. The Muzlocker font subpixel hinting is outstanding and far superior to the font hinting that is provided by default with OpenSUSE. In the past, there may have been licensing issues that prevented the use of these fonts, however, these licensing issues are said to no longer apply.
The main part here do freetype2 package. Subpixel rendering can be turned on by defining FT_CONFIG_OPTION_SUBPIXEL_RENDERING. Nevertheless we can't turn it on by default because subpixel rendering is patented, am I right, Takashi? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=737215
https://bugzilla.novell.com/show_bug.cgi?id=737215#c7
--- Comment #7 from Takashi Iwai
(In reply to comment #0)
especially with GTK apps like Firefox and Thunderbird. However, the Muzlocker repo significantly improves the OpenSUSE fonts. The Muzlocker font subpixel hinting is outstanding and far superior to the font hinting that is provided by default with OpenSUSE. In the past, there may have been licensing issues that prevented the use of these fonts, however, these licensing issues are said to no longer apply.
The main part here do freetype2 package. Subpixel rendering can be turned on by defining FT_CONFIG_OPTION_SUBPIXEL_RENDERING. Nevertheless we can't turn it on by default because subpixel rendering is patented, am I right, Takashi?
Right. It _might_ be possible to work around the patent by a new algorithm (like this one), but it's still unclear whether it's really patent-free unless it's clarified by legal people. Thus for FACTORY, we can't turn it on blindly. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=737215
https://bugzilla.novell.com/show_bug.cgi?id=737215#c8
--- Comment #8 from Gordon Dickens
https://bugzilla.novell.com/show_bug.cgi?id=737215
https://bugzilla.novell.com/show_bug.cgi?id=737215#c9
--- Comment #9 from Cristian Morales Vega
https://bugzilla.novell.com/show_bug.cgi?id=737215
https://bugzilla.novell.com/show_bug.cgi?id=737215#c10
--- Comment #10 from Petr Gajdos
https://bugzilla.novell.com/show_bug.cgi?id=737215
https://bugzilla.novell.com/show_bug.cgi?id=737215#c11
--- Comment #11 from Gordon Dickens
https://bugzilla.novell.com/show_bug.cgi?id=737215
https://bugzilla.novell.com/show_bug.cgi?id=737215#c12
--- Comment #12 from Petr Gajdos
https://bugzilla.novell.com/show_bug.cgi?id=737215
https://bugzilla.novell.com/show_bug.cgi?id=737215#c13
--- Comment #13 from Gordon Dickens
https://bugzilla.novell.com/show_bug.cgi?id=737215
https://bugzilla.novell.com/show_bug.cgi?id=737215#c14
--- Comment #14 from Gordon Dickens
https://bugzilla.novell.com/show_bug.cgi?id=737215
https://bugzilla.novell.com/show_bug.cgi?id=737215#c15
--- Comment #15 from Gordon Dickens
https://bugzilla.novell.com/show_bug.cgi?id=737215
https://bugzilla.novell.com/show_bug.cgi?id=737215#c16
--- Comment #16 from Gordon Dickens
https://bugzilla.novell.com/show_bug.cgi?id=737215
https://bugzilla.novell.com/show_bug.cgi?id=737215#c17
Petr Gajdos
- Fonts in other Linux distributions can be configured to render identically to Microsoft Windows (Cleartype enabled) without other additional repos or add-on software. I have personally achieved this with Gnome2/Ubuntu and Gnome2/CentOS.
That's not good argument for lawyers, sorry. What do you think: why is subpixel rendering off per default in freetype? Why are not infinality patches still not accepted in freetype? I guess that's not because freetype2 authors want to render fonts with their library worse ;-). When you are able to resolve these law-issues, feel free to inform freetype2 upstream and discuss with them. For this bug and us as downstream, please leave subpixel rendering aside. (In reply to comment #15)
Created an attachment (id=484622) --> (http://bugzilla.novell.com/attachment.cgi?id=484622) [details] My antialias settings are depicted in this jpeg attachment.
Setting subpixel rendering without freetype wich supports it is pointless as far as I know. (In reply to comment #14)
Created an attachment (id=484621) --> (http://bugzilla.novell.com/attachment.cgi?id=484621) [details] My font settings are depicted in this jpeg attachment.
Ok, let's look on Verdana rendering. Could you please attach $ fc-match -v "Verdana" You can ommit charset and all entries comming after. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=737215
https://bugzilla.novell.com/show_bug.cgi?id=737215#c18
--- Comment #18 from Gordon Dickens
That's not good argument for lawyers, sorry.
I understand your perspective completely, However, I don't understand how some of the other Linux distros apparently get around these legal issues. I am only trying to help you and the OpenSUSE distro since, to the average user, this appears to be a disadvantage to OpenSUSE versus some of the other Linux distros. On the other hand, I completely agree that OpenSUSE should avoid infringing on any patents out there.
Setting subpixel rendering without freetype wich supports it is pointless as far as I know.
I have freetype installed. Please explain. Frankly, I am not a font expert and therefore I do not totally understand some of your comments. Is FT_CONFIG_OPTION_SUBPIXEL_RENDERING something that is defined at compile time or is it a runtime configuration option? How would I configure freetype myself to support subpixel rendering?
Ok, let's look on Verdana rendering. Could you please attach $ fc-match -v "Verdana" You can ommit charset and all entries comming after.
OK, here is the results: gordon@rhino:~> fc-match -v "Verdana" Pattern has 31 elts (size 32) family: "Verdana"(s) familylang: "en"(s) style: "Normal"(s) stylelang: "ca"(s) fullname: "Verdana"(s) fullnamelang: "en"(s) slant: 0(i)(s) weight: 80(i)(s) width: 100(i)(s) size: 12(f)(s) pixelsize: 12.5(f)(s) foundry: "microsoft"(s) antialias: FcTrue(w) hintstyle: 3(i)(w) hinting: FcTrue(w) verticallayout: FcFalse(s) autohint: FcFalse(w) globaladvance: FcTrue(s) file: "/usr/share/fonts/truetype/verdana.ttf"(s) index: 0(i)(s) outline: FcTrue(s) scalable: FcTrue(s) dpi: 75(f)(s) rgba: 1(i)(w) scale: 1(f)(s) Petr, thanks again! Gordon Dickens -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=737215
https://bugzilla.novell.com/show_bug.cgi?id=737215#c19
--- Comment #19 from Petr Gajdos
I understand your perspective completely, However, I don't understand how some of the other Linux distros apparently get around these legal issues. I am only
Maybe you want to ask them ;-).
trying to help you and the OpenSUSE distro since, to the average user, this
Yes, it is clear only from the fact that you created this bug report. I really appreciate it a lot, thanks. And your effort was not useless, se below.
FT_CONFIG_OPTION_SUBPIXEL_RENDERING something that is defined at compile time
Exactly, if I understand correctly. Look at freetype2-subpixel.patch and freetype2.spec when it is applied. You can build own freetype2 with subpixel rendering compiled in of course.
gordon@rhino:~> fc-match -v "Verdana" Pattern has 31 elts (size 32) family: "Verdana"(s) familylang: "en"(s) style: "Normal"(s) stylelang: "ca"(s) fullname: "Verdana"(s) fullnamelang: "en"(s) slant: 0(i)(s) weight: 80(i)(s) width: 100(i)(s) size: 12(f)(s) pixelsize: 12.5(f)(s) foundry: "microsoft"(s) antialias: FcTrue(w) hintstyle: 3(i)(w) hinting: FcTrue(w) verticallayout: FcFalse(s) autohint: FcFalse(w) globaladvance: FcTrue(s) file: "/usr/share/fonts/truetype/verdana.ttf"(s) index: 0(i)(s) outline: FcTrue(s) scalable: FcTrue(s) dpi: 75(f)(s) rgba: 1(i)(w) scale: 1(f)(s)
And here you are: important part for as is: family, antialias, hinting, autohint and hintstyle. family: you are sure now that Verdana is really used when requested antialias: turn antialiasing on (true) or off (false) (http://en.wikipedia.org/wiki/Font_rasterization) hinting: turn hinting on (true) or off (false) (http://en.wikipedia.org/wiki/Hinting) autohint: use byte code interpreter, BCI which operates over font mathematical instructions (false) or freetype's autohinter (true) hintstyle: define level of hinting impact -- hintnone (0), hintslight (1), hintmedium (2), hintfull(3) As far as I have gathered good informations, for majority of fonts good defaults should be: antialias=true, hinting=true, autohint=false, hintstyle=hintfull (used by Verdana now) or antialias=true, hinting=true, autohint=true, hintstyle=hintslight. You can experiment and tell freetype how to render fonts via fontconfig: ~/.fonts.conf <?xml version="1.0"?> <!DOCTYPE fontconfig SYSTEM "fonts.dtd"> <fontconfig> <match target="font"> <test name="family"> <string>Verdana</string> </test> <edit name="antialias" mode="assign"> <bool>true</bool> </edit> <edit name="hinting" mode="assign"> <bool>true</bool> </edit> <edit name="autohint" mode="assign"> <bool>false</bool> </edit> <edit name="hintstyle" mode="assign"> <const>hintfull</const> </edit> </match> </fontconfig> That's should do nothing for you, that's like your (system default) configuration looks now. But, try to change autohint to true and hintstyle to hintslight and _rerun_ program which uses Verdana to see the difference. Do you see any? You can of course try another combinations, if you would like to. Feel free to report me best combination ;-). -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=737215
https://bugzilla.novell.com/show_bug.cgi?id=737215#c20
--- Comment #20 from Petr Gajdos
https://bugzilla.novell.com/show_bug.cgi?id=737215
https://bugzilla.novell.com/show_bug.cgi?id=737215#c
Petr Gajdos
https://bugzilla.novell.com/show_bug.cgi?id=737215
https://bugzilla.novell.com/show_bug.cgi?id=737215#c21
--- Comment #21 from Gordon Dickens
https://bugzilla.novell.com/show_bug.cgi?id=737215
https://bugzilla.novell.com/show_bug.cgi?id=737215#c22
--- Comment #22 from Petr Gajdos
Hi Petr,
Thanks for all your replies and suggestions which I will be testing. You have provided me with several ideas that I look forward to trying out.
Thanks. If we do any conclusion, I will amend default configuration for openSUSE. Thanks for cooperation! -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=737215
https://bugzilla.novell.com/show_bug.cgi?id=737215#c23
--- Comment #23 from Gordon Dickens
https://bugzilla.novell.com/show_bug.cgi?id=737215
https://bugzilla.novell.com/show_bug.cgi?id=737215#c24
--- Comment #24 from Petr Gajdos
https://bugzilla.novell.com/show_bug.cgi?id=737215
https://bugzilla.novell.com/show_bug.cgi?id=737215#c25
--- Comment #25 from Gordon Dickens
https://bugzilla.novell.com/show_bug.cgi?id=737215
https://bugzilla.novell.com/show_bug.cgi?id=737215#c26
--- Comment #26 from Petr Gajdos
https://bugzilla.novell.com/show_bug.cgi?id=737215
https://bugzilla.novell.com/show_bug.cgi?id=737215#c27
Petr Gajdos
https://bugzilla.novell.com/show_bug.cgi?id=737215
https://bugzilla.novell.com/show_bug.cgi?id=737215#c28
--- Comment #28 from Jan Matejek
Gordon,
I will choose autohint=true, hintstyle=hintslight, if you find better combination, please let me know (by private email, by reopening bug or so).
Thanks a lot for cooperation!
FWIW, i don't see how you could pick that over the default autohint=false, hintstyle=hintfull. the fonts with BCI/hintfull are thinner, which is probably a matter of personal preference; what does bother me, however, is that with autohinter Verdana is very visibly fuzzy. if that's all the same to you, i'd like to see this setting reverted ;e) see attachment for comparison at 4x magnification. i'm trying to figure out how to easily screencap various fonts at various hinter/hintstyle settings, is there perhaps a utility for that? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=737215
https://bugzilla.novell.com/show_bug.cgi?id=737215#c29
--- Comment #29 from Petr Gajdos
Created an attachment (id=504266) --> (http://bugzilla.novell.com/attachment.cgi?id=504266) [details] FWIW, i don't see how you could pick that over the default autohint=false, hintstyle=hintfull. the fonts with BCI/hintfull are thinner, which is probably a matter of personal preference; what does bother me, however, is that with autohinter Verdana is very visibly fuzzy. if that's all the same to you, i'd like to see this setting reverted ;e)
Actually, I don't use Verdana at all, so I can't argue against and also won't judge it. All the more so, that, as you wrote, it is really matter of personal taste. Feel free to create sr against M17N/fontconfig configuration, I will accept it fortwith.
i'm trying to figure out how to easily screencap various fonts at various hinter/hintstyle settings, is there perhaps a utility for that?
If you find one, please tell me. I tried, but not so hard. My long-term plan is to write one if such tool doesn't exist yet. Sadly, if you find the best configuration for your monitor it doesn't mean that it is best configuration for other monitor. Even more, I had experienced following behaviour for some font and configuration: one of right or left arces shaping '8' becomed more wide when I was changing angle of my perspective on this monitor :-]. So, more than a testing tool, in my opinion, we are missing a general setting tool for fonts. Sure, there are simple ones with some DEs, but I am thinking about font-manager (http://code.google.com/p/font-manager/) which is able to change user font configuration in general way to some extent by operations over user's ~/.fonts.conf. It have some shortcommings now, for example, it can't display font rendered by chosen configuration in its preview. So I am thinking about extending it. Its python, so maybe I will need some hints ;-). -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=737215
https://bugzilla.novell.com/show_bug.cgi?id=737215#c30
Wolfgang Rosenauer
https://bugzilla.novell.com/show_bug.cgi?id=737215
https://bugzilla.novell.com/show_bug.cgi?id=737215#c31
--- Comment #31 from Petr Gajdos
Do I need to open a new bug about it?
This is opened yet: bug 781631 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=737215
https://bugzilla.novell.com/show_bug.cgi?id=737215#c32
--- Comment #32 from Bernhard Wiedemann
participants (1)
-
bugzilla_noreply@novell.com