Re: Default font selection and automatic assignment for unrecognized fonts
Posted by
dxli on
Dec 10, 2023; 8:04pm
URL: https://forum.librecad.org/Default-font-selection-and-automatic-assignment-for-unrecognized-fonts-tp5723999p5724001.html
Hi Marko,
Where do you get the font data?
If it's Unicode, you can search other Unicode fonts to look for a backup.
If it's not Unicode, it's getting harder, because you cannot use an ASCII font for a symbol, for example.
Another thought, can we use ttf2lff at dxf loading time to create lff from system fonts, if font looking up fails. Or from some free ttf fonts online. Basically, making the lff management automatic.
marko.p.radojcic wrote
Hi.
I am thinking on starting to work on the option to automatically assign the default font to fonts that are not recognized during the loading stage of dxf or dwg file.
Is there interest in such feature?
Personally, I think it would be very useful.
Any pointers/advice/opinions would be greatly appreciated.
Best,
Marko