Exported PDF doesn't have fonts or dashed lines

Questions and issues concerning LXPlan (formerly LXFree for Java)
coopchap
Posts: 3
Joined: Thu Oct 31, 2024 8:08 pm

Exported PDF doesn't have fonts or dashed lines

Postby coopchap » Fri Nov 01, 2024 2:21 am

When I export a PDF and open it in my browser, the fonts I selected for various text blocks appear as a default, Helvetica or Arial or something similar. Additionally, my centerline and plaster line don't have the dashed pattern I added to them that appears in LXPlan. Is this a problem with my browser, my machine, or LXPlan?

Thanks,
Cooper Chapple

admin
Site Admin
Posts: 277
Joined: Mon Nov 20, 2017 4:31 pm

Re: Exported PDF doesn't have fonts or dashed lines

Postby admin » Fri Nov 01, 2024 11:59 am

This is an issue with the open source library used by LXPlan to create PDFs. There are limitations, particularly with regard to fonts, in how LXPlan graphics get exported to PDF. There is a wide range of PDF support on Windows and occasionally elements will not appear in an exported PDF when viewed with one application but are fine in another.

You can also try producing a PDF by using the print command and instead of choosing a printer, save it to PDF. Although this method may involve creating a custom page size, depending on the size of your document. (If you don't make a large enough page, the printer driver will split your drawing up into multiple pages.)