Font mishap

Hi there,

I hope this is the appropriate place to send support questions. I
couldn't find anything relevant in the FAQ or other help documents. I'm
running LibreOffice 3.4.3 OOO340m1 (Build:302), shipped with Ubuntu 11.10.

I have ttf-mscorefonts-installer set up, and so fonts like "Georgia" are
available and can be italicized, etc. However, I was sent a large
document that is mostly in Georgia, and looks fine, but has problems
with italics and bold. Rather than having the font set to "Georgia"
along with the property of being bolded or italicized, the document has
the font name in various places itself set to "Georgia Italic", "Georgia
Bold", or "Georgia Bold Italic", which it doesn't recognize, so renders
in some default sans serif font.

I need to be able to view the file properly without messing with its
fonts, as I'm going to record changes to collaborate with the author. Is
there some way I can do this? Is a "replacement table" what I need? I
wasn't able to figure out how to do it or find any documentation that
seemed to work for my version.

Thanks for your help and for maintaining such a great product,
Macho

Hi :slight_smile:
Yes, this is the best place to ask questions.

Someone here is likely to be able to help with your font problems but it should be possible to find those fonts through a google search. Also it should be possible for the person sending the document to send you a copy of their specific ttf files although many people are unlikely to know where their fonts are.

In Ubuntu once you get a ttf file just double-click on it to get a preview and down at the bottom right should be a button to click to install the font.

Regards from
Tom :slight_smile:

In "Places", you open you "home folder", mine is "timothy".
Then go to the View option and click on "Show Hidden Files"
The fonts should be listed in the ".font" folder.

See if you have those Georgia fonts listed. If you do, then there is a problem that I do not know how to deal with. If they are not there, then something was wrong with the ms-core fonts install.

I know that there are fonts called Georgia Italic and Georgia Bold, etc.. I have them in my font collection. Contact me offline at "webmaster@libreoffice-na.us" and I may be able to send them to you.

.

Sorry for the delayed response.

In "Places", you open you "home folder", mine is "timothy".
Then go to the View option and click on "Show Hidden Files"
The fonts should be listed in the ".font" folder.

I had no such folder, but I found the needed fonts on my system in
/both/ of the following directories as ‘Georgia_Italic.ttf’ etc.:

/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType/
/usr/share/fonts/truetype/msttcorefonts/

When I followed this advice:

In Ubuntu once you get a ttf file just double-click on it to get a preview and down at the bottom right should be a button to click to install the font.

The folder was automatically created. Unfortunately, the fonts still
didn't show up in LibreOffice using the ones in either of those
directories (unless I need to do something weird like reboot the machine
for it to take effect).

Also it should be possible for the person sending the document to send you a copy of their specific ttf files although many people are unlikely to know where their fonts are.

I don't think this should be necessary given that I already appear to
have the needed fonts, and in the particular circumstances—which I won't
go into—it would be awkward for me to ask.

Any other ideas?

Thanks again,
Mark

ps. Since a few days have elapsed, here's the initial email I had sent:

Hi :slight_smile:
I would try a reboot even if not using Windows, just for old times sake. I'm not sure about the folders issue. Have you had a look in

Tools - Options - LibreOffice/General - Fonts

to see if it's in there or is that where it's not appearing?
Regards from
Tom :slight_smile:

I would try a reboot even if not using Windows, just for old times sake.

No effect.

Have you had a look in

Tools - Options - LibreOffice/General - Fonts

to see if it's in there or is that where it's not appearing?

Not until now. The translation table was empty, so I added an entry
translating "Georgia Italic" to "Georgia" which does work, but I don't
see any way to apply italics to the target font, so using it would mean
bold and italic text would be identical to the regular text, which is
perhaps even worse than having it in the wrong font altogether.

Thanks again for the help. Let me know if any other ideas come to mind

Macho

...
How was the document created? I did a test by creating an LO and MS Word
doc using Georgia in WinXP - just a simple:
Georgia Regular.
Georgia Bold.
Georgia Italic.
Georgia Bold Italic.

I then opened those (the .odt and .doc) in Ubuntu 10.10 with the
ttf-mscorefonts-installer installed. The fonts look exactly the same as
the Windows version. I tested with LO 3.3.4 and 3.4.3.

I then tested those Ubuntu 11.10 w/LO 3.4.3 _without_
ttf-mscorefonts-installer installed and exported to a pdf so that I can
see what the substitute fonts are. They are:
DejaVuSans
DejaVuSans-Bold
DejaVuSans-Oblique
DejaVuSans-BoldOblique

I then installed ttf-mscorefonts-installer and reopened the same
document. I then exported to a pdf & the fonts are:
Georgia
Georgia-Bold
Georgia-Italic
Georgia-BoldItalic

You my want to export your doc to a pdf and then look at the
File>Properties>Fonts and see what they are.

It push comes to shove, I bet you can get TTF copies of the different Georgia fonts that are needed, then install them by the double click method. They should be the ones your system uses, since they are the newest ones. My LO seems to use them and they are listed in my .fonts folder. I do not remember if I installed the MS core font .deb package.
I myself have
Georgia.ttf
Georgia Bold.ttf
Georgia Bold Italic.ttf
Georgia Italic.ttf
Georgia Ref.ttf
plus some of those in opentype fonts as well.

As for Tahoma, I have it in "regular", "bold", and "small cap bold".

Actually one of the most "universial" fonts is Arial Unicode. It is the Unicode font that seems to have the most glyphs in it, and the largest size, 23 MB, as far as I am concerned.

Responding to Tim, NoOp, and Kracked Press all at once to minimize the
number of emails.

... How was the document created?

I couldn't say, I wasn't the one who created it, and don't have direct
access to that person. I can only assume Word...?

  You my want to export your doc to a pdf and then look at the
File>Properties>Fonts and see what they are.

I did this and get: DejaVuSans, Georgia, TimesNewRomanPSMT,
TimesNewRomanPS-BoldMT, Georgia-Bold, DejaVuSans-Bold.

I'm not too sure what to do with this information, though, I admit...?

Did you open "Places" to your home user folder? Mine is timothy.
Did you click on the "view hidden files and folders" option in the
View option?
Did you see a lot of "." folders, like .libreoffice and .mozilla?
.fonts should be there is you see the hidden folders that become
viewable when you check the "view hidden" option.

Yes, yes, and yes. I have only ever installed Ubuntu's default fonts
plus the msttcorefonts package, which is quasi-default. The .fonts was
created when I installed by the double-click method.

To be honest, I would not double click any font and try to install it
from a file shown in the .fonts or the usr/share/fonts/ folders. I
usually create a folder of the fonts I want to look at in my "timothy"
home folder - say fonts-to-be-looked-at - and then place all the fonts
there I might want to install. Then I go over the fonts in the
default viewer and click on the install button if I decide I want it.
At that point I move that font from a "to be looked at" folder to a
"fonts-i-installed" folder.

I just tried it this way, with the same result.

It push comes to shove, I bet you can get TTF copies of the different
Georgia fonts that are needed, then install them by the double click
method. They should be the ones your system uses, since they are the
newest ones. My LO seems to use them and they are listed in my .fonts
folder. I do not remember if I installed the MS core font .deb package.

Unless I'm misunderstanding you here, this is what I just did at Tim's
advice. It doesn't seem to have worked.

I myself have
Georgia.ttf
Georgia Bold.ttf
Georgia Bold Italic.ttf
Georgia Italic.ttf
Georgia Ref.ttf
plus some of those in opentype fonts as well.

The only one I'm missing is "Ref", which I can't imagine would make a
difference...? Also, mine use underscores rather than spaces between the
words, could that be relevant?

Thanks to you all for your help! This problem seems really trivial, but
is actually keeping me from doing editing work.

If you have any last ideas, please let me know.

Macho

Responding to Tim, NoOp, and Kracked Press all at once to minimize the
number of emails.

Unfortunately that tends to complicate issues...

... How was the document created?

I couldn't say, I wasn't the one who created it, and don't have direct
access to that person. I can only assume Word...?

So let's do the guessing game... 1) is it an .odt, 2) .doc, 3) .docx, 4
other?

  You my want to export your doc to a pdf and then look at the
File>Properties>Fonts and see what they are.

I did this and get: DejaVuSans, Georgia, TimesNewRomanPSMT,
TimesNewRomanPS-BoldMT, Georgia-Bold, DejaVuSans-Bold.

I'm not too sure what to do with this information, though, I admit...?

That at least indicates that it does have Georgia and Georgia-Bold. My
guess would be that it also has other fonts in it that you do not have
installed (hence the DejaVuSans-Bold).

If you can share the document I'd be happy to take a look at it off-list
& will keep the info/doc private. If so, just send me a copy directly &
ensure that you have 'Font mishap' in the Subject so that I don't drop
the email as spam. I can check in Ubuntu & Windows tomorrow.
...

.doc

I'll pass it along off-list.

-M

Hi :slight_smile:
If the document is not confidential you can always upload it to this thread
in Nabble. Use "Reply" and then choose "More Options" and "Upload a file"
works in much the same way as attching a file to an email.

If you have already sent the file off-list to the people helping with this
thread then you don't need to upload it to Nabble. It's just a handy place
to upload stuff :slight_smile:
Regards from
Tom :slight_smile: