Re:Google and Adobe team up to improve fonts on iOS and Linux
by joosters on Thursday May 02, 2013 @04:59AM
(#5643320)
The article's font sample image is pretty shoddy. They've resized it and so lost all the features of the renderer! To my eyes, the top example seems clearer and sharper than the bottom one.
Re:Google and Adobe team up to improve fonts on iOS and Linux
by chrismorgan on Thursday May 02, 2013 @08:18AM
(#5643941)
Seriously? Ubuntu has the best font rendering of any operating system that I've used.
Mac OS X is perfectly good, but it doesn't tend to feel as nice as Ubuntu. Especially when you get to things like Indic scripts.
Windows' font rendering (I can only speak for up to Windows 7) is still quite nasty, especially at larger font sizes. The lack of vertical antialiasing ruins it for these cases.
Re:Google and Adobe team up to improve fonts on iOS and Linux
by frou_dh on Thursday May 02, 2013 @09:50AM
(#5644423)
This debate is pointless because people almost always give the nod to what they're personally most accustomed to, perhaps also labelling the others as garbage for good measure.
Re:Google and Adobe team up to improve fonts on iOS and Linux
by wfunction on Thursday May 02, 2013 @01:13PM
(#5645841)
> Windows' font rendering (I can only speak for up to Windows 7) is still quite nasty, especially at larger font sizes. The lack of vertical antialiasing ruins it for these cases.
Weird, I would consider that Windows has the best font rendering. Do you have any example photos you'd like to show?
A comment below [1] has some pictures, do you really find Windows's rendering to be bad?
Re:Google and Adobe team up to improve fonts on iOS and Linux
by stephen_g on Thursday May 02, 2013 @10:17PM
(#5648471)
I used to like Windows' font rendering (when they introduced ClearType), but after having to Mac OS X about five years ago and using an iPhone and iPad for a couple of years I'm so used to Apple's font rendering that Windows looks really ugly to me... Quite subjective though.
Perhaps it's partially due to the fact that Mac laptops and iDevices have higher quality displays than typical Windows machines?
Re:Google and Adobe team up to improve fonts on iOS and Linux
by ekr on Thursday May 02, 2013 @08:29AM
(#5643988)
The article is about an upgrade to the Freetype library, more specifically to the CFF rasterizer. It has nothing to do with TrueType fonts (most of them, probably).
I've been using Arch Linux as my only OS for more than 5 years, and the only certain applications have given me font-related trouble. Firefox somehow doesn't select the correct alternative (even though fontconfig works fine).
Re:Google and Adobe team up to improve fonts on iOS and Linux
by Legion on Thursday May 02, 2013 @11:20AM
(#5645061)
Ubuntu's patches for the various font rendering technologies are my #1 must-have software on Linux. Any distro I use is either a Ubuntu or something that has these patches an easy install away. (Arch has them in the AUR, for example)
Re:Google and Adobe team up to improve fonts on iOS and Linux
by drivebyacct2 on Thursday May 02, 2013 @01:35PM
(#5645997)
This has, honestly, been a blind spot of mine and something that has kept me in Ubuntu rather than Arch or Debian. Can you elaborate on what the patches are called and how to replicate Ubuntu's rendering in Arch? Thanks so much.
Re:Google and Adobe team up to improve fonts on iOS and Linux
by gjulianm on Thursday May 02, 2013 @08:31AM
(#5644009)
Although I haven't tried 13.04 yet, Qt apps on Ubuntu weren't that great on font rendering. There's room for improvement there.
Also, take into account that Linux is not Ubuntu. It's a growing trend to identify Linux with Ubuntu, as if other distributions (or even other desktop environments in the same Ubuntu distro) weren't to take into account. Have you seen KDE font rendering? Open a Chromium browser, navigate to some pages, it's awful.
Re:Google and Adobe team up to improve fonts on iOS and Linux
by kijin on Thursday May 02, 2013 @10:38AM
(#5644717)
Even among the Ubuntu variants, font rendering is only smooth in GTK-based desktop environments, i.e. GNOME/Unity and XFCE. Last time I checked, fonts looked awful in Kubuntu, especially if you opened either Firefox or LibreOffice. Lubuntu likewise looks like it received none of the font rendering improvements that Ubuntu has had by default for ages.
Of course, "awful" is subjective so you might prefer the way KDE and LXDE render fonts. But it doesn't change the fact that they're different.
Re:Google and Adobe team up to improve fonts on iOS and Linux
by rlanday on Thursday May 02, 2013 @09:58AM
(#5644470)
Is Windows even using the same font? I think Windows prioritizes making the text look sharp over getting all the character strokes in the right place. OS X and Ubuntu look very similar except for the line spacing, and the lowercase ‘a’, which looks kind of strange/vertically compressed on Ubuntu.
Re:Google and Adobe team up to improve fonts on iOS and Linux
by drivebyacct2 on Thursday May 02, 2013 @10:00AM
(#5644480)
They should all be using Verdana, as per HN's CSS. I have the font installed in each OS so it should be a fair fight unless I screwed something different up.
Re:Google and Adobe team up to improve fonts on iOS and Linux
by drivebyacct2 on Thursday May 02, 2013 @10:57AM
(#5644857)
I always have msttcorefonts installed which includes Verdana. It's part of the script that is the first thing I run on a new install...
(Like, a half hour ago, I checked that Verdana was installed and then recreated the screenshot from the original post and it's identical as far as I can tell.
Re:Google and Adobe team up to improve fonts on iOS and Linux
by sp332 on Thursday May 02, 2013 @11:09AM
(#5644954)
The fonts are similar, but you can see the numeral "3" is different. They're not the same font.
Right-click the text and choose "Inspect element". In the right-hand column, make sure "Computed" is selected at the top, then look to see what font-family is being rendered. (If you click "Rules" at the top, you can see which rules are active.)
Re:Google and Adobe team up to improve fonts on iOS and Linux
by blaenk on Thursday May 02, 2013 @04:58PM
(#5647184)
In my experience, this doesn't necessarily give the correct font. Some distros have font aliases in fontconfig. I've found that `fc-match` can easily find the true font being used for a given font name/pattern, e.g. fc-match monospace might give DejaVu Mono
Re:Google and Adobe team up to improve fonts on iOS and Linux
by grey-area on Thursday May 02, 2013 @02:26PM
(#5646288)
Windows has distorted the font here hasn't it? If you're rating fonts on sharpness, Windows would win here, but by any other criteria (distortion, kerning, adequate aliasing, legibility), it fails. The Windows rendering almost looks like a monospaced font. You're throwing a lot out in order to get things sharper at small sizes, and for many people, that matters far more than perceived sharpness.
Re:Google and Adobe team up to improve fonts on iOS and Linux
by wfunction on Thursday May 02, 2013 @04:06PM
(#5646881)
> legibility
Seriously? I could agree that it may not fully represent the intended font, but the entire point is that it's more legible when it sacrifices that, and I find it hard to believe that you find Windows's text to be less legible than Mac's/Ubuntu's.
i.e. I think Windows sacrifices the fontmaker's intent in order to please the reader, who couldn't care less about the fontmaker's intentions rather than the actual output (unless the reader is the fontmaker himself).
Re:Google and Adobe team up to improve fonts on iOS and Linux
by grey-area on Friday May 03, 2013 @04:37AM
(#5649390)
Kerning, character spacing and character shape are all designed to help legibility, and I think frankly that the Windows approach is a naive attempt to optimise one aspect of legibility at the expense of all others. So yes, I'm afraid I do disagree that it is more legible, I think it sacrifices too much, as these screenshots make clear the font is deformed so much it looks like a different font, spacing is all off, and glyphs are uneven.
This is somewhat subjective, and you might have a different opinion, but there is more than one variable in play when it comes to legibility, it doesn't just come down to how sharp the text is.
Re:Google and Adobe team up to improve fonts on iOS and Linux
by wfunction on Friday May 03, 2013 @05:33AM
(#5649497)
I know, I didn't mean to imply sharpness is the only factor. It's just one of several important factors.
But I couldn't care less about the font being deformed, as long as it looked better than it used to. The fact that you seem to care so much about the deformation into a different font seems to imply to me that your goal is to preserve the original font, rather than to make it look nice on the screen.
If you have the time, would you mind taking the pictures in the comment below and making a smaller bitmap that shows exactly which character(s) you think are not kerned well, and which Linux or Mac kerns better? I'm really curious what I'm not seeing.
Re:Google and Adobe team up to improve fonts on iOS and Linux
by grey-area on Monday May 06, 2013 @06:15PM
(#5665130)
Kerning: Look at the a in was, or the e in difference, or OS X - all of these have too much space and the difference is obvious.
Distortion: IMHO Fonts carry meaning and affect legibility, they are not just there to make text look nice on screen. Deforming a font subtracts meaning, and in some cases will make it less legible, particular an automated deformation like this.
Re:Google and Adobe team up to improve fonts on iOS and Linux
by rammark on Thursday May 02, 2013 @04:37PM
(#5647076)
I agree with you. I don't care what the fonts were designed to look like. I only care about readability. The default font settings on Ubuntu hurt my eyes. Thankfully this is easy to fix by switching to full hinting and enabling subpixel rendering.
Re:Google and Adobe team up to improve fonts on iOS and Linux
by Scene_Cast2 on Thursday May 02, 2013 @01:40PM
(#5646034)
For anyone wanting the Linux font rendering on Windows - check out MacType (https://code.google.com/p/mactype/). Works best on high-dpi monitors, and it's a matter of taste on low-dpi (little blurrier, but the fonts are more authentic).
Re:Google and Adobe team up to improve fonts on iOS and Linux
by codex on Thursday May 02, 2013 @12:38PM
(#5645592)
It's been my experience that Ubuntu's default font rendering is good--but this seems to be because Ubuntu is using fonts which have been explicitly designed to render well in the Linux font stack. I find that using mainstream TTF and OTF fonts, with their custom hinting and ligatures, works less well.
Soon this will be a non-issue, though. Font engines differ only in how they hint and subpixel render at low resolutions. Once every display is "retina," there will be very little difference, except perhaps in gamma correction, advanced kerning and layout algorithms, where I've found OS X has always produced superior results.
Re:Google and Adobe team up to improve fonts on iOS and Linux
by jmhain on Thursday May 02, 2013 @09:46PM
(#5648382)
I really don't know much about font rendering, but I thought that was the case too so I installed the Ubuntu fonts on my Arch Linux system, and they looked terrible. According to the Arch wiki, Ubuntu applies their own patches and "extra configurations" for freetype2, cairo, etc. I was able to achieve a similar, but not quite as pleasing result by installing freetype2-infinality on Arch.
Re:Google and Adobe team up to improve fonts on iOS and Linux
by codex on Thursday May 02, 2013 @01:58PM
(#5646161)
Now that font rendering technology on displays has reached that of print thanks to "retina" class displays, how can we improve readability even further? We're no longer constrained by the limitations of the printing press.
What if every vowel in a word were rendered in light grey, and every consonant in black? Or every letter were mapped to one of n subtle (near black) color hues? Or both? Such crazy schemes might further improve word recognition and reduce load on the visual cortex. Perhaps the Kindle, Readability, or iBooks could implement something like this as an experiment. I'd definitely try it.
Re:Google and Adobe team up to improve fonts on iOS and Linux
by dangerlibrary on Thursday May 02, 2013 @08:59AM
(#5644162)
The rendering of curved lines appears much better, but vertical and horizontal lines are very poorly rendered. You can see this clearly in the Chinese character "中" - the first character inside the parentheses on the first line.
Re:Google and Adobe team up to improve fonts on iOS and Linux
by joosters on Thursday May 02, 2013 @05:00AM
(#5643323)
Is it true that iOS uses a different font renderer than Mac OS? I thought that the fonts on an iPhone looked pretty good actually. Perhaps they are referring to apps that decide to use the FreeType renderer?
Re:Google and Adobe team up to improve fonts on iOS and Linux
by snowwrestler on Thursday May 02, 2013 @12:12PM
(#5645430)
Unless you're looking at a Retina MacBook Pro, it's not really a fair comparison. Fonts look better on an iPhone simply because the pixel density is much higher than on a typical Mac screen.
Re:Google and Adobe team up to improve fonts on iOS and Linux
by happy_dino on Thursday May 02, 2013 @06:02AM
(#5643495)
> Is it true that iOS uses a different font renderer than Mac OS?
Yes, iOS uses (parts of) FreeType. Imagine the shitstorm if they shipped their fuzzy, washed-out default rendering!
The issue is that most people buying smartphones are not die-hard Apple fans like the buyers of their other offerings, so the font rentering would be pretty hard to sell.
> I thought that the fonts on an iPhone looked pretty good actually.
That's because FreeType (with the right patches and settings) is already pretty much the best font renderer (with a few exceptions).
Re:Google and Adobe team up to improve fonts on iOS and Linux
by kaolinite on Thursday May 02, 2013 @08:57AM
(#5644147)
Agreed. OSX's font rendering in my opinion is superior to Ubuntu and other Linux distros. It is subjective though - after all, some people claim to prefer ClearType.
Re:Google and Adobe team up to improve fonts on iOS and Linux
by Samuel_Michon on Thursday May 02, 2013 @11:52AM
(#5645288)
I only see it mentioned on FreeType’s website, with no details:
“Some products which use FreeType for rendering fonts on screen or on paper, either exclusively or partially: [...] iOS, Apple's mobile operating system for iPhones and iPads”
iOS (née iPones OS) never used subpixel rendering, and since the introduction of HiDPI it isn’t needed anymore either. I can imagine that using parts of Freetype instead of using the whole of OS X’s Quartz would’ve made the code for iOS more compact.
Given that all of the iPhone models and many of the iPad models have HiDPI screens nowadays, I doubt Apple will be using Adobe’s extension, since it’s mostly a problem with low resolution displays.
Re:Google and Adobe team up to improve fonts on iOS and Linux
by Samuel_Michon on Thursday May 02, 2013 @12:27PM
(#5645521)
Adobe’s solution is mostly interesting for OpenType/CFF and PostScript fonts. iOS’ system fonts are TrueType, so this would only come into play in websites, third party apps, and PDFs that use embedded fonts. Besides, iOS doesn’t use hinting embedded in fonts.
Re:Google and Adobe team up to improve fonts on iOS and Linux
by gillianseed on Friday May 03, 2013 @01:18AM
(#5648953)
From what I've experienced, I find iOS and Android font rendering is equal in quality, and Android uses freetype so I wouldn't be surprised at iOS using the same.
Re:Google and Adobe team up to improve fonts on iOS and Linux
by mwfunk on Thursday May 02, 2013 @01:38PM
(#5646017)
So, since you are clearly a very technically deep and insightful person with lots and lots of industry experience, you are stating with great authority that OS X does not use FreeType to rasterize fonts. Interesting. :)
Re:Google and Adobe team up to improve fonts on iOS and Linux
by gillianseed on Thursday May 02, 2013 @08:01AM
(#5643848)
Doesn't Ubuntu and other out-of-the-box desktop friendly distros come with good font settings from the get go?
I use Arch Linux but even here it's not much of a hassle given that there is a very informative wiki page not to mention packages with good configuration presets (infinality).
Re:Google and Adobe team up to improve fonts on iOS and Linux
by happy_dino on Thursday May 02, 2013 @07:33AM
(#5643712)
The good thing is that it only has to be figured out once, then the information can be spread almost freely ... there is something called “the internet” which excels at this.
Re:Google and Adobe team up to improve fonts on iOS and Linux
by jamesaguilar on Thursday May 02, 2013 @02:04PM
(#5646188)
I would love to try this out and even went to the distance of downloading the tarball for the beta of '.12. However, it's not clear where the property needs to be set, as there are a few places in the library where FT_Init... is called. On top of that, I am not sure from re-reading this that it helps at all for TT fonts, which is most of what I end up using.
Re:Google and Adobe team up to improve fonts on iOS and Linux
by thristian on Thursday May 02, 2013 @07:53AM
(#5643796)
So, does this mean that text on web-pages is going to have inconsistent rasterisation depending on whether the font happens to represent its glyphs with TrueType, PostScript, or CFF outlines?
Re:Google and Adobe team up to improve fonts on iOS and Linux
by ChuckMcM on Thursday May 02, 2013 @12:56PM
(#5645727)
This is not any different than today (in terms of this problem) as far as I can tell. One part of creating the whole system is creating a unified font catalog in one font format.
The original image is found at http://google-opensource.blogspot.com.au/2013/05/got-cff.htm... and is much better.
Mac OS X is perfectly good, but it doesn't tend to feel as nice as Ubuntu. Especially when you get to things like Indic scripts.
Windows' font rendering (I can only speak for up to Windows 7) is still quite nasty, especially at larger font sizes. The lack of vertical antialiasing ruins it for these cases.
Weird, I would consider that Windows has the best font rendering. Do you have any example photos you'd like to show?
A comment below [1] has some pictures, do you really find Windows's rendering to be bad?
1: https://news.ycombinator.com/item?id=5644228
OSX uses antialiasing, which means the fonts have a nice shape, but they are fuzzy, blurry, and to some users headache-inducing.
Windows reshapes the fonts so they fit perfectly in the pixel grid, but the shape is not what will be printed, and it looks ugly to some users.
Because people like what they are used to, and because Apple vs Microsoft is already a flame war, no-one can really agree.
Perhaps it's partially due to the fact that Mac laptops and iDevices have higher quality displays than typical Windows machines?
I've been using Arch Linux as my only OS for more than 5 years, and the only certain applications have given me font-related trouble. Firefox somehow doesn't select the correct alternative (even though fontconfig works fine).
Also, take into account that Linux is not Ubuntu. It's a growing trend to identify Linux with Ubuntu, as if other distributions (or even other desktop environments in the same Ubuntu distro) weren't to take into account. Have you seen KDE font rendering? Open a Chromium browser, navigate to some pages, it's awful.
Of course, "awful" is subjective so you might prefer the way KDE and LXDE render fonts. But it doesn't change the fact that they're different.
And that FreeType is not Linux only.
http://i.imgur.com/4dGbR.png (Ubuntu)
http://i.imgur.com/mfyjw.png (OS X)
http://i.imgur.com/BqOdg.png (Windows 7)
Yup, pretty much. A trio of Spolsky/Atwood posts from 2007 worth reading:
http://www.codinghorror.com/blog/2007/06/whats-wrong-with-ap...
http://www.joelonsoftware.com/items/2007/06/12.html
http://www.codinghorror.com/blog/2007/06/font-rendering-resp...
Ubuntu does not install Microsoft fonts by default. It will fallback to Ubuntu's default font.
(Like, a half hour ago, I checked that Verdana was installed and then recreated the screenshot from the original post and it's identical as far as I can tell.
Right-click the text and choose "Inspect element". In the right-hand column, make sure "Computed" is selected at the top, then look to see what font-family is being rendered. (If you click "Rules" at the top, you can see which rules are active.)
The '3' doesn't look any more different than other chars due to rendering difference, to me.
And KDE's font manager's take on Verdana: http://i.imgur.com/4c5cSe3.png
And Firefox on my system, just as a reference: http://i.imgur.com/a2yZ7UQ.png
There are differences with how the text is rendered. Maybe it has to do with kerning and subpixel optimizations.
The others are just way too blurry.
Seriously? I could agree that it may not fully represent the intended font, but the entire point is that it's more legible when it sacrifices that, and I find it hard to believe that you find Windows's text to be less legible than Mac's/Ubuntu's.
i.e. I think Windows sacrifices the fontmaker's intent in order to please the reader, who couldn't care less about the fontmaker's intentions rather than the actual output (unless the reader is the fontmaker himself).
Do you really think it's failing in that too?
This is somewhat subjective, and you might have a different opinion, but there is more than one variable in play when it comes to legibility, it doesn't just come down to how sharp the text is.
But I couldn't care less about the font being deformed, as long as it looked better than it used to. The fact that you seem to care so much about the deformation into a different font seems to imply to me that your goal is to preserve the original font, rather than to make it look nice on the screen.
If you have the time, would you mind taking the pictures in the comment below and making a smaller bitmap that shows exactly which character(s) you think are not kerned well, and which Linux or Mac kerns better? I'm really curious what I'm not seeing.
Soon this will be a non-issue, though. Font engines differ only in how they hint and subpixel render at low resolutions. Once every display is "retina," there will be very little difference, except perhaps in gamma correction, advanced kerning and layout algorithms, where I've found OS X has always produced superior results.
What if every vowel in a word were rendered in light grey, and every consonant in black? Or every letter were mapped to one of n subtle (near black) color hues? Or both? Such crazy schemes might further improve word recognition and reduce load on the visual cortex. Perhaps the Kindle, Readability, or iBooks could implement something like this as an experiment. I'd definitely try it.
Yes, iOS uses (parts of) FreeType. Imagine the shitstorm if they shipped their fuzzy, washed-out default rendering! The issue is that most people buying smartphones are not die-hard Apple fans like the buyers of their other offerings, so the font rentering would be pretty hard to sell.
> I thought that the fonts on an iPhone looked pretty good actually.
That's because FreeType (with the right patches and settings) is already pretty much the best font renderer (with a few exceptions).
I live in the EU and I've been using freetype-freeworld package for years before the patents expired. but still... amazing :)
EDIT: patents have expired
Do you have a reference for this rather surprising claim?
“Some products which use FreeType for rendering fonts on screen or on paper, either exclusively or partially: [...] iOS, Apple's mobile operating system for iPhones and iPads”
http://www.freetype.org/
iOS (née iPones OS) never used subpixel rendering, and since the introduction of HiDPI it isn’t needed anymore either. I can imagine that using parts of Freetype instead of using the whole of OS X’s Quartz would’ve made the code for iOS more compact.
http://bjango.com/articles/subpixeltext/
Given that all of the iPhone models and many of the iPad models have HiDPI screens nowadays, I doubt Apple will be using Adobe’s extension, since it’s mostly a problem with low resolution displays.
Judging by the letter shapes, I would say it's highly likely iOS uses the same renderer as OS X, at least for common fonts like Helvetica Neue.
However, I don't know if I've seen any CFF fonts. Perhaps this is where FreeType would come in?
http://blogs.adobe.com/typblography/2010/12/the-benefits-of-...
http://blogs.adobe.com/typblography/2011/09/postscript-comes...
“There is a marked difference between letter shapes rendered with FreeType and with Quartz.”
Oh, definitely. FreeType has always looked like crap (to me) and iOS never did, so I don’t believe iOS’ font renderer is 100% FreeType.
I use Arch Linux but even here it's not much of a hassle given that there is a very informative wiki page not to mention packages with good configuration presets (infinality).
Yes, exactly!