DraqueT / PolyGlot

PolyGlot is a conlang construction toolkit.
MIT License
387 stars 44 forks source link

PDFs don't export: Likely a Windows problem - test on Windows & Linux platforms #1222

Open NostalgicLorikeet opened 1 year ago

NostalgicLorikeet commented 1 year ago

Whenever I try exporting to a PDF, PolyGlot freezes and opens a window with OpenJDK's icon and then does nothing. Afterwards, I can only close it with Task Manager. The resultant PDF is completely empty (as in is literally empty space, its 0 bytes) and cannot be opened in anything.

DraqueT commented 1 year ago

Could you please send me a copy of your language file? If you send it to Draquemail@gmail.com, I'll be able to take a look and see if there's a bug preventing it from printing properly and make a beta for you that is corrected.

NostalgicLorikeet commented 1 year ago

Here: https://cdn.discordapp.com/attachments/695018955995218044/1049158543326056489/ball.pgd It's mostly just nonsense so that could be the problem

On an unrelated note , but do you think adding some way to customize the visuals of the program would be a good idea? I'd think it'd be cool and a little less hard on the eyes to have like a darker color scheme as an option.

TenFifteen1015 commented 1 year ago

I'm not sure if this is already being worked on, but I think I figured out the issue. I've been having the same problem, I export, then Java opens and the program freezes, and only closes when I force it with task manager. I think it's an issue with the etymology graphs exporting, because when I turn them off it works just fine. The PDF isn't as interesting looking without them, but it exports. I think the etymology just needs to be optimized or something so that it works on larger files.

DraqueT commented 1 year ago

Thank you for this report @TenFifteen1015 ! Could you please email me a copy of the offending PolyGlot language file? That'll let me look at the exact thing that is causing it to crash and correct it. My email is draquemail@gmail.com

Thanks for taking the time to report a problem!