fdo#34814 - Importing doc with fonts unavailable on the system

Caolán McNamara caolanm at redhat.com
Sat May 5 00:53:29 PDT 2012


On Fri, 2012-05-04 at 17:53 +0200, Lubos Lunak wrote:
> This is the reason:
> rAttrs.mbSymbolFlag= (mpImplFont->meCharSet == RTL_TEXTENCODING_SYMBOL)

...

>  IOW that code works right, but that's not where the problem is. Writer core 
> somehow needs to know what the bullet font is it getting via UNO actually is, 
> but since it itself does not know that font because it's not installed, and 
> the import filter does not(?) have a way to tell it, it does not work.

How about just moving the fix down to FontList::Get in
svtools/source/control/ctrltool.cxx in the !pFontInfo font-is-unknown
branch to look up the font name in the unotools fontcvt
list-of-known-symbol-fonts-we-can-emulate and toggle it there to be a
symbol font ?

C.



More information about the LibreOffice mailing list