Re: Truetype scaled font issue
Ben Smith <[email protected]>
| Newsgroups | gmane.comp.fonts.freetype.user |
|---|---|
| Message-ID | <CAK7yb4TstEJDGePBWBqvsq9nFq12FaqAz6vwkq4rM-rd6YQYRA@mail.gmail.com> |
Hi Adam, The specific font I was focussing on is from "LiberationMono-Regular.ttf" (attached). I don't *think* it contains embedded bitmaps? The confusing part is, I've used the same file on Ubuntu 8, Ubuntu 10 and Ubuntu 16 and it renders correctly on all of them. From my perspective it doesn't matter; I have a workaround that is perfect for the needs of the project, and it' possible I'm the only person on the planet needing these specific fonts anyway. :) But still, it would be nice to know why. Cheers, Ben On Sat, Aug 28, 2021 at 5:32 PM Adam Twardoch (Lists) < [email protected]> wrote: > The first image looks like it's coming from either an embedded bitmap or > from native TrueType hinting. The second looks like it's rasterized from > the outline. > > Either way, it's not a matter of FreeType itself but of how it's used. > FreeType CAN render native TrueType hinting and/or embedded bitmaps but it > has modes where it ignores those. The operating system or app chooses which > mode it uses. > > On Sat, 28 Aug 2021 at 08:58, Ben Smith <[email protected]> wrote: > >> ---------- Forwarded message --------- >> From: Ben Smith <[email protected]> >> Date: Sat, Aug 28, 2021 at 4:44 PM >> Subject: Re: Truetype scaled font issue >> To: Werner LEMBERG <[email protected]> >> >> >> Hi Werner, >> >> Thanks for the quick response. I installed OpenSUSE. >> >> 1. $ sudo zypper install xfontsel >> 2. $ xfontsel -scaled >> 3. Set the parameters as follows: >> fndry: "misc", >> family: "liberation mono", >> weight: "medium", >> slant: "r" >> >> I can give you other examples if required. It's also apparent in Fontforge >> when you do the "Element|Bitmap Strikes Available" action. >> >> See attached Images. Left hand side is Ubuntu 16, right hand side is >> OpenSUSE. >> >> Let me know if there's anything else I can do. >> >> Cheers, >> Ben >> >> [image: Comparison2.JPG][image: Comparison.JPG] >> >> > >> > >> >
LiberationMono-Regular.zip
(application/x-zip-compressed, 67.8 KB) - not displayed