No need
No need
Posted Oct 22, 2009 20:28 UTC (Thu) by nim-nim (subscriber, #34454)In reply to: No need by mikov
Parent article: Monomania (Tux Deluxe)
> any desktop-related problems are non essential.
Do you really want to argue there is nothing wrong with java font processing when it can not even parse the default format of most new font projects? Even giant multi-year efforts such as
http://www.stixfonts.org/
Be consistent: either font processing is required, and Java is not on the level expected today, or it isn't, and comparisons of font rendering are irrelevant
> I am sorry, but that is rubbish. I am talking of a specific engineering
> problem - rendering text on a small embedded B&W LCD display. The output
> generated by the Linux standard libraries when using True Type fonts is
> not acceptable. There is nothing subjective there.
And many people commented on the links I posted that the Windows font rendering you think is obviously better is not acceptable either. So don't pretend it's an objective statement.
> It makes no sense to press on here. Since according to you anything is
> by definition subjective then there is nothing to discuss.
That windows achieves "crispness" at the cost of distortion its not subjective it's a fact that can easily be checked (and has been by many people). What's subjective is the right balance between "crispness" and "no distortion". It's a compromise ie there is no 100% good solution.
> I am not talking about high quality typography here. Displaying text on
> a small two-color display should be a solved problem.
It should be but it is not. Even MS continues to invest heavily in font processing tech. So obviously they disagree with you on the "solved" part.
The only solution everyone agree would work would be to increase pixel density just like happened video-side for hd video.
> I am not convinced that it is acceptable to perform reflow as a result
> of anti-aliasing.
The AA settings let you choose a point between the two curbs on
http://damieng.com/blog/2007/06/13/font-rendering-philoso...
Of course it will cause reflow. That's obvious math. If you don't want reflow do not allow changing the settings (your font processing won't be any better quite the contrary but you'll have hidden an un-obvious, for laymen, side-effect of grid-fitting)
Posted Oct 23, 2009 0:48 UTC (Fri)
by mikov (guest, #33179)
[Link] (3 responses)
No. As I said, I believe you when you you say that there are problems. I thought we agreed that it is a moot point because it _has_ to be replaced anyway.
I am pointing out that the move to Freetype, while necessary and unavoidable, and while improving some things (as you are saying), worsens others.
I see a kind of complacency with the state of Linux font rendering, while it has clear shortcomings in some aspects.
> Be consistent: either font processing is required, and Java is not on
I am consistent. For my purposes (mostly embedded development) the current state of closed source Java font rendering works better than Freetype. Additionally, since I believe that Java has no future on the desktop, the problems you are describing are not that critical.
> And many people commented on the links I posted that the Windows font
I am not talking about random people commenting on random font rendering samples in a blog post. I don't care what they say. I am talking about delivering working products to paying customers... :-)
Windows font rendering is objectively and undeniably better at low resolutions without anti-aliasing. To deny that fact out of misguided open source loyalty is to prevent improvement in that same open source.
> That windows achieves "crispness" at the cost of distortion its not
No one is arguing with that. However you seem to assume that typographically correct rendering is always required or even preferable on a computer screen. When that screen is low DPI and low color, crispiness is all that matters.
Secondly, while there is no 100% good solution, it is enough to try reading this very page without anti-aliasing on Windows and Linux, to become convinced which solution is at least better. And I am saying this after having worked exclusively with a Linux desktop for many years - so my brain has been trained to like the Linux kind of rendering. Believe me, I eally want to like Linux better :-) But for now the path for that is to really make it better, rather than convince myself that wrong is right...
> It should be but it is not. Even MS continues to invest heavily in font
I hear you... I am typing this on a huge monitor with huge fonts and I have to say the fonts in Linux look lovely...
> The AA settings let you choose a point between the two curbs on
You are missing my point, perhaps because we are talking about two separate issues. These are conflicting goals:
I want and need both a) and b), with a way to control when I get which. The problem is in Linux out of the box I get neither! I get both ugly fonts without anti-aliasing, and I get inconsistent reflow with anti-aliasing.
Posted Oct 23, 2009 1:13 UTC (Fri)
by mikov (guest, #33179)
[Link] (1 responses)
It show how the current state of Linux font rendering is not particularly good, and how it can be improved. Has anything been done in that direction?
Posted Oct 23, 2009 6:04 UTC (Fri)
by nim-nim (subscriber, #34454)
[Link]
Anyway the freetype devs are definitely aware of this article, if it's not implemented yet that's either because there is some legal problem, or xorg is missing the infra (typically xorg is terrible at color correction so gamma tricks are un-implementable on its current state), there is some other point missed in the article (for example, it would make desktop rendering unbearably slow with current drivers), or people just do not have the time to finish it up (I don't remember which case it is).
But anyway if you're interested in it I'm sure they would welcome patches.
And (to repeat myself) rasterization is only a very small part of font processing.
Posted Oct 23, 2009 6:16 UTC (Fri)
by nim-nim (subscriber, #34454)
[Link]
Typophile is not random people it's the web lair of professional font creators that need too deliver working fonts to paying customers
> No one is arguing with that. However you seem to assume that
And I contend that's a user preference, as proved by all the OMG how can I remove ugly crispy bitmap fonts post that happen every time bitmap fonts are accidentaly activated for a large user base
> I want and need both a)
BTW people seem to assume no-AA is "better", in large part because it's supposed to be faster. With modern font libs and GFX drivers, since everyone optimizes the general case users want (AA), AA rendering will be faster.
Also if you push your customers in small text at low-dpi land you'll just make non-i18n apps. Latin scripts are relatively resistant to low-dpi situations, compared to asian ones (because an ideogram for example needs higher detail density than a latin letter)
No need
> processing when it can not even parse the default format of most new
> font projects? Even giant multi-year efforts such as
> http://www.stixfonts.org/[1]
> the level expected today, or it isn't, and comparisons of font rendering
> are irrelevant
> rendering you think is obviously better is not acceptable either. So
> don't pretend it's an objective statement.
> subjective it's a fact that can easily be checked (and has been by many
> people). What's subjective is the right balance between "crispness" and
> "no distortion". It's a compromise ie there is no 100% good solution.
> processing tech. So obviously they disagree with you on the "solved"
> part.
>
> The only solution everyone agree would work would be to increase pixel
> density just like happened video-side for hd video.
> http://damieng.com/blog/2007/06/13/font-rendering-philoso...
>
> Of course it will cause reflow. That's obvious math. If you don't want
> reflow do not allow changing the settings (your font processing won't be
> any better quite the contrary but you'll have hidden an un-obvious, for
> laymen, side-effect of grid-fitting)
a) Crisp rendering without anti-aliasing at small sizes. It is by definition typographically incorrect, but more readable.
b) Accurate sub-pixel rendering, even at the expense of readability (typically at smaller sizes). Since it is accurate, it will not affect reflow. For example, Adobe Acrobat works this way.
No need
http://antigrain.com/research/font_rasterization/
No need
No need
> samples in a blog post. I don't care what they say. I am talking about
> delivering working products to paying customers... :-)
> typographically correct rendering is always required or even preferable
> on a computer screen. When that screen is low DPI and low color,
> crispiness is all that matters.