From cde7d006925f0a0f3f52dfa4337b0a0165213eea Mon Sep 17 00:00:00 2001 From: Werner Lemberg Date: Sun, 14 Apr 2019 10:38:13 +0200 Subject: Use https protocol. --- freetype2/docs/ft2faq.html | 2 +- ttfautohint/doc/ttfautohint.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/freetype2/docs/ft2faq.html b/freetype2/docs/ft2faq.html index b0bf2b5..aac9fa3 100644 --- a/freetype2/docs/ft2faq.html +++ b/freetype2/docs/ft2faq.html @@ -381,7 +381,7 @@ font files with small code size and very low memory usage.

A good, freely available font editor is FontForge.

+ href="https://fontforge.github.io">FontForge.

diff --git a/ttfautohint/doc/ttfautohint.html b/ttfautohint/doc/ttfautohint.html index 38d9465..6d0b2ab 100644 --- a/ttfautohint/doc/ttfautohint.html +++ b/ttfautohint/doc/ttfautohint.html @@ -348,7 +348,7 @@

‘Smooth’ hinting

Fundamentally, there are two approaches to hinting. The older approach, let’s call it ‘sharp’, popular when text was rendered in pure black-and-white, was to make all stems round to full pixels so that in a text line, all stems would be either one pixel or (at a larger point size) two pixels. When grayscale antialiasing came about, this approach actually started harming the rendering rather than helping it, because the horizontal and vertical stems would render very dark but round or diagonal stems would render very light.

So a new approach was developed, let’s call it ‘fuzzy’, where all stems and other elements are equalized so that in grayscale (or ClearType) rendering, they all are of roughly equal color. This means that stems are not rounded to full pixels but in fact to fractions of a pixel. However, with black-and-white renderers, this approach yields poor results because in black-and-white you cannot render a fraction of a pixel, so some stems become one pixel and some become two.

-

The TrueType auto-hinters in FontForge and FontLab Studio, to name two well-known font editors, take the ‘sharp’ approach, while the TrueType auto-hinter in ttfautohint takes the ‘fuzzy’ approach.

+

The TrueType auto-hinters in FontForge and FontLab Studio, to name two well-known font editors, take the ‘sharp’ approach, while the TrueType auto-hinter in ttfautohint takes the ‘fuzzy’ approach.

In theory, a hybrid approach is possible, using TrueType conditional hints: If the rasterizer is black-and-white, ‘sharp’ rendering could happen, while if the rasterizer is ClearType, the ‘fuzzy’ rendering could be used. It is not intended to add black-and-white auto-hinting to ttfautohint. However, it is planned to develop an interface so that ttfautohint can cooperate with font editors, providing this hybrid hinting.

ttfautohint and ttfautohintGUI

On all supported platforms (GNU/Linux, Windows, and Mac OS X), the GUI looks quite similar; the used toolkit is Qt, which in turn uses the platform’s native widgets.

-- cgit v1.2.3