font replacement rules

Hi,

If I open a document with a font which is not available on my system,
the font is replaced by some other font. Don't you happen to know if LO
uses any rules according to which the replacement font is chosen? Or
the choice is random (unless I set the replacement manually)?

For example, LO may select a font with the same or at least similar
metric (e.g Liberation serif instead of Tines New Roma). But I do not
know it it really happens.

What about other ofiice applications? Do they have anu rules implemented?

thanks
Milos

Did you check Tools | Options | Fonts?

*- John*

[image: Inline image 1]

John Greenstreet

988 Deep Run Hollow

Delray, West Virginia 26714

(540) 686-1039 home

  On *Facebook*:

  http://facebook.com/jagreenstreet

   On *Skype*:
   john.greenstreet5

* You Tube* videos

  http://www.youtube.com/user/jgreenst1409

Pages on a mac has a nice feature of popping up a message telling you what font in the document is not available on your system and it will be replaced so check for spacing or layout changes.

Well, on the "out of the box" fix. . . .
You can always Google for free replacement fonts for a specific font family. I use to do that all the time. Just find a similar replacement font and download/install it/them and you will be "safe".

I have 749 fonts [250 MB] installed on this Ubuntu 14.04LTS desktop, that I am typing this replay with. I have 500-600 installed on my Win10/Ubuntu dual booting laptops. About a third are specialty fonts - BUT I have enough variety of free font families to cover most of the specifically named fonts that may be in a document that are not installed on my machines. I even have an entire Adobe font collection [not a free option though], from somewhere between 2000 and 2005, that I can install as needed. I have only a few Adobe fonts installed at one time.

SO, the key is making sure you have enough free fonts that are similar to the ones that are to be used by others. The only problem are the specialty fonts, like the variety I use in my documents. Some of these can be too "special" to have an easy to find free replacement. I have over 200,000 fonts in my font collections folder to help me with matching fonts.

There is a specific sequence of rules used for determining which glyph
from which font is substituted for "missing" glyphs. However, that
sequence, and order of precedence depends upon the users _specific_
configuration.

jonathon

... be aware that font/glyph replacement rules are different in Linux/Unix
than they are in Windows. I don't use Macs so can't comment on that OS.

Take a look at:
https://wiki.documentfoundation.org/LibreOffice_Localization_Guide/Advanced_Source_Code_Modifications.

e.g.: "Under unix, where fontconfig is used for font fallback, then if the
first entry in the list is not available, fontconfig is consulted for the
best replacement font to use based off that fontname and the desired locale.
Under other platforms LibreOffice loops through the list until one is
found."

Also under the "Font Fallback" and "Glyph Fallback", the same thing is
stated, although both sections are marked as "This section needs updating!"

It is also clear that LibreOffice has quite a few easily reproducible bugs
relating to font replacement. If, for instance, you are using a particular
font that contains glyphs for multiple different writing systems (e.g. one
that uses non-Latin Unicode characters) to type two languages in the same
document (e.g. English and Hebrew or French and Thai), Writer will sometimes
happily substitute a completely different font for the "foreign" characters
instead of using your chosen font for both languages. This CAN BE mitigated
somewhat by using the CTL (Complex Text Layout) settings, but that is spotty
and inconsistent at best.

To be fair, this behavior has been around since the birth of the code in
Star Office days. I guess my point is that even having a wide variety of
fonts doesn't necessarily guarantee a good layout. You need to experiment to
figure out what works best with the particular documents you tend to work
with - there will always be some quirks.