Error writing a text object that contains an umlaut - 'ā' #331
Closed
thabrlawrenz
started this conversation in
General
Replies: 1 comment 1 reply
-
First, I'm not sure why you are manually creating a TextFragment instance. If you are using the composer, you can just write As for the error itself: You need to use a font that has glyphs for the codepoints you want to show. It seems that you are using one of the built-in standard PDF fonts. They only provide a very small subset of glyphs. It is better to use a TrueType font. See e.g. the composer tutorial for details. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, you may have answered this before, but I just cant get this working.
I am using composer
then when I try and draw a text object with text containing "ā" using
HexaPDF::Layout::TextFragment.create(text_title ...
I receive this error:
I have tried all sorts of config options to make this work, just cant get it to draw text that contains characters with umlauts: ā, ö.
An suggestions please?
Beta Was this translation helpful? Give feedback.
All reactions