[PATCH 2/2] fonts: Increase the Em size to fix a build failure with freetype 2.8.1
Dmitry Timoshkov
dmitry at baikal.ru
Thu Sep 28 03:07:39 CDT 2017
Michael Stefaniuc <mstefani at winehq.org> wrote:
> > Did you test that after this patch font and glyph metrics still stay the same?
> To find the relevant changes I have verified that the numbers increased
> by the factor of 2048 divided by the old Em size (11 or 13 or 15). Of
> course as 11, 13, 15 aren't factors of 2048 there are rounding errors.
>
> But it doesn't matter as:
> a) Those are bitmap only fonts.
> b) Only the *.fon files are installed but not the corresponding *.ttf files.
That's true, but it's sometimes useful to be able to load and test .ttf
files as well, although it looks like after some Windows update intermediate
Wine bitmap-only .ttf fonts is no longer possible to load under Windows, and
since freetype 2.8.1 Linux started to behave same way.
> c) The generated *.fon files are bit by bit identical (sha1sum) before
> and after this commit.
Great, that's the key point.
--
Dmitry.
More information about the wine-devel
mailing list