(explaining the reasons of ajlittoz’ Edit in his reply)Īs ajlittoz states below, the missing glyph substitution an issue of font-rendering black square (■ U+25A0) and white square (□ U+25A1), as well as some special spaces (such as EM space U+2003, Hair space U+200A, etc.) used in high-level typography, but not specifically designed in some fonts. Obviously, the problem does not regards concretely characters whithin words, like the γ chosen here merely as an example: in cases like that, we must of course use a font including the correspondant glyph… But the issue could concern some non-letter characters, e.g. Just to clear the purpose of this question: I’m in a team preparing books for print and would like to avoid typeset getting messy if a file passes through different computers.
The question is: does this “default” appearance depend on LibreOffice, or on the operating system? In other words: if I share the file with someone who has another OS or another LO version, does he see exactly the same as I see? Or can it be that some difference – even slight – appears? And, if so: does it concern merely the viewing, or also printing/PDF exporting? In the latter case, the character is displayed in a sort of “default” or “system” font (similar to Arial and Helvetica, but apparently slightly bigger). What I see in my odt file is always the correct character, no matter whether the applied font has a specific glyph for that given character or not. I type a given Unicode Character, say the Greek letter “gamma” (U+3B3). However, it seems to be a font aimed more at console use than in documents.I have question about single glyphs rendering in LO Writer. I know Ubuntu Regular has these two glyphs because it's my standard system font.Įdit 2: If I use GNU Unifont, the glyphs display correctly. WARNING: Glyph "好" (0x597d) not available in font "Ubuntu". WARNING: Glyph "你" (0x4f60) not available in font "Ubuntu".ġ0:22:59 AM .LoggingEventListener processEvent However, I'm still getting the 'glyph not available' warning: 10:22:59 AM .LoggingEventListener processEvent
FONT GLYPHS IN LIBREOFFICE CODE
I've switched to using the Ubuntu Font Family using the following code in my FOP config: 0.95 or 1.1) and I don't know if anything has been changed/improved in the meantime.Įdit: My question is different (I think) to the suggested duplicate. I've seen some earlier questions on a similar topic but most seem to be using a much older version of Apache FOP (e.g. I'm using Apache FOP 2.1 and Java 1.7.0_91 on Ubuntu. Is it possible to embed a single font to cover all situations? At the moment I just need English and Chinese, but I'll probably need to extend that in future. I don't want to use different fonts for each language, because there will be PDFs that have a mixture of Chinese and English, and as far as I know there's no way to work out which is which in XSLT/XSL-FO. Switch to a different font just for the non-ASCII parts of text.Use an OpenType font - except this isn't supported by FOP.I've looked at the documentation and it seems to suggest that the options available are: Currently I'm getting the following warning on the console and the Chinese characters are replaced by # in the PDF: 11:30:56 AM .LoggingEventListener processEvent WARNING: Glyph "你" (0x4f60) not available in font "Helvetica".ġ1:30:56 AM .LoggingEventListener processEvent WARNING: Glyph "好" (0x597d) not available in font "Helvetica".
FONT GLYPHS IN LIBREOFFICE PDF
I'm processing this file using XSLT and Apache FOP to produce a PDF file which lists the names. I have an XML file containing a list of names, some of which use characters/glyphs which are not represented in the default PDF font (Helvetica/Arial): Paul