News for hackers. Stuff that matters.
Re:Build your own Terminal using Qt by racer-v on Wednesday October 25, 2017 @04:29AM (#15548398)
What would be the win in avoiding TrueType? Seems like we could easily convert any TTF files to PostScript Type 1 if there were an advantage to be gained.
Re:Build your own Terminal using Qt by sjmulder on Wednesday October 25, 2017 @05:02AM (#15548543)
This might be a misconception but I was under the impression that truetype fonts are a complexity and security minefield. In particular I noticed an st developer complaining (on the mailing list, probably) about the lack of a suckless font library when I concluded that it might be better to just do without them.
Re:Build your own Terminal using Qt by racer-v on Wednesday October 25, 2017 @02:06PM (#15552505)
Sounds like a noble endeavor. From https://suckless.org/project_ideas

Suckless font rendering library

There is libdrw in suckless now, which still uses xft and fontconfig. Fontconfig and xft are ugly and require too much internal knowledge to be useful. The next logical layer in Linux evolved as pango and cairo. Both of course added HTML formatting and vector drawing. This is not needed to simply draw some text somewhere. And this is what a suckless font rendering library should do: Give it a font string and render at some position the given font without having to care about font specifics.

Re:Build your own Terminal using Qt by cat199 on Wednesday October 25, 2017 @10:49AM (#15550585)
not 100% but pretty sure the suckless folks are in the static bitmapped font camp - TTF and PS are raster formats.
Re:Build your own Terminal using Qt by aardvark291 on Wednesday October 25, 2017 @11:20AM (#15550841)
aren't "bitmapped" and "raster" pretty much synonymous?
Re:Build your own Terminal using Qt by Stratoscope on Wednesday October 25, 2017 @12:41PM (#15551660)
They are. cat199 no doubt meant to say that TrueType and PostScript generally use vector (outline) fonts, not raster (bitmap).

They are both capable of providing bitmap fonts as well, but those are less commonly used.