This project has moved and is read-only. For the latest updates, please go here.

Integrating to Unity - Removal of AddFont

Feb 25, 2016 at 11:00 PM

I'm trying to integrate this into Unity - I only have the need for loading DXF files, nothing else. As such I'm just wondering if you have any advice on removing the font's and any references to them without breaking everything?

The specific issue I have is with TextStyle.cs line 117, which can cause an issue due to read/write permissions.

Thanks, great library btw.
Feb 28, 2016 at 6:30 PM
If the TextStyle gives you problems comment the whole if block in the constructor and compile again. For a more detail information read this topic. It affects Windows 8 and 10, also when a specific ttf is not found while loading a dxf. For the next update I will undo the latest changes I made in the TextStyle.

Feb 29, 2016 at 12:18 PM
Thanks very much Daniel. Luckily I'd already commented it out and tested it but I didn't want to risk exposing another issue without asking on here.