You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've tried forking and outputting text using UTF-16BE that PDFs support but can't seem to get it to render without interpreting the two-byte chars as two different characters. Maybe it is a font issue. Do you have interest in fixing or should I migrate to report lab or something similar?
The text was updated successfully, but these errors were encountered:
I saved my work on a new branch. But couldn't get it working 100%. According to the pdf spec, the idea is to put UTF-16BE with a BOM inside the (text string) Tj part but when the pdf renders each wide 16bit character is instead interpreted as two 8bit characters so you see spaces everywhere. When looking at the hex dump of the file all output is as expected which leads me to believe there is something I'm missing with the spec. Perhaps it has to do with the truetype CID fonts. Maybe it is required to embed them? The example I was trying to get working was courier which I believe should have just been pulling from the system and not embedded.
I've tried forking and outputting text using UTF-16BE that PDFs support but can't seem to get it to render without interpreting the two-byte chars as two different characters. Maybe it is a font issue. Do you have interest in fixing or should I migrate to report lab or something similar?
The text was updated successfully, but these errors were encountered: