RyanRiffle / Poe

A word processor built with HTML, CSS, and JavaScript
GNU General Public License v3.0
21 stars 4 forks source link

Empty Words cause PDF to fail #25

Closed RyanRiffle closed 9 years ago

RyanRiffle commented 9 years ago

If the document contains an emtpy word, making PDF generation fail because the pdf does not know about the font that the word uses. A hack to fix it would be to check for those before trying to add them to the pdf. A better fix would be to find out how and where the words are not getting removed.

RyanRiffle commented 9 years ago

A fix is hacked together right now, by setting the default font to one of the fonts available. Still need to find out why empty words are there.