AuburnSounds / printed

Generate PDF/SVG/HTML with D, with a Canvas-style API. Now with a flow document emitter.
36 stars 7 forks source link

fix font finding on linux #11

Closed deviator closed 6 years ago

deviator commented 6 years ago

I test simple code with fillText function on Fedora 28 and font registry can't find any font.

p0nce commented 6 years ago

Does the new code find any font now?

If no: isn't the bug in standardspaths instead? Surely there must be a directory in Fedora with fonts?

deviator commented 6 years ago

Yes, I think it found all fonts in my system. All of those installed in subdirs in /usr/share/fonts with name of font (for example /usr/share/fonts/dejavu/DejaVuSansCondensed-BoldOblique.ttf).

p0nce commented 6 years ago

OK this is in v0.0.4

Still have to wait for 1694 other packages to complete.