LWN.net Logo

OpenOffice.org Off the Wall: Fonts of Wisdom (Linux Journal)

Bruce Byfield explains font selection issues when using OpenOffice.org. "What follows is an introduction to some of the basic issues as they apply to Linux and OpenOffice.org: What fonts are available? How are they installed? What tools in OpenOffice.org allow you to make use of them? Most important of all, what do you need to consider when selecting and customizing fonts? A complete answer to even one of these questions could fill a book. However, the brief answers that follow should help you make more informed choices about using fonts."
(Log in to post comments)

My problem...

Posted Apr 16, 2004 16:05 UTC (Fri) by rknop (guest, #66) [Link]

I use Debian Woody, but upgraded to XFree864.3 with some debs I found from apt-get.org, so that I could have 3d support for a slightly more recent Radeon card.

Now, fonts mostly work, but the Symbol font is completely screwed up. This is a problem if you're a physicist or an astronomer and need to use greek letters in your Impress presentations, or if your students want to use them in OpenOffice Writer. (I use LaTeX for writing myself, but don't ask undergrads to learn it.)

What happens is that lowercase letters are rendered as uppercase letters, and uppercase letters are rendered as other symbols. This is, naturally, extremely annoying, and I've been Googling about it and can't figure out what the problem is. I *suspect* it has something to do with fontconfig, but I don't know.

For what it's worth, I have the same problem in gfontsel or xfontsel, so it's not an OOo specific thing.

Has anybody seen anything like this, and does anybody have any idea what a workaround might be?

-Rob

My problem...

Posted Apr 16, 2004 18:49 UTC (Fri) by allesfresser (subscriber, #216) [Link]

>don't ask undergrads to learn it.

Why not? How difficult is this:

\documentclass{article}
\usepackage[margin=1in]{geometry}
\usepackage{times}
\begin{document}

\section{First Section}

... text ...

\section{Second Section}

... text, etc. ...

\end{document}

Process the file with pdflatex file.tex and there you go. If you add \usepackage{hyperref} you can even have all the sections, table of contents, URLs, etc. made into PDF links for you automatically. With a little basic documentation it's not hard at all. (IMHO). I do admit though that finding that basic documentation can be a challenge for the beginner. But if you're teaching undergrads to do it, presumably you would provide them with said docs.

My problem...

Posted Apr 16, 2004 19:41 UTC (Fri) by rknop (guest, #66) [Link]

AK!

The problem isn't who can learn LaTeX.

The problem is that fonts don't work in OpenOffice.org. Even if I make the undergrads learn LaTeX, that still doesn't solve my Impress problem.

Does anybody have any suggestions for fixing the OOo problem????

-Rob

My problem...

Posted Apr 16, 2004 19:13 UTC (Fri) by oak (subscriber, #2786) [Link]

You can offer undergrads LyX to write latex:
http://www.lyx.org/

My problem...

Posted Apr 16, 2004 23:21 UTC (Fri) by donio (subscriber, #94) [Link]

Or TeXmacs:

http://www.texmacs.org/

Try Freefont

Posted Apr 17, 2004 4:13 UTC (Sat) by proski (subscriber, #104) [Link]

Sorry for zealots' replies to your question. I'm using Debian unstable, and the Symbol font is fine. Lowercase Latin becomes lowercase Greek, uppercase Latin becomes uppercase Greek. xfontsel also shows the font correctly.

If you cannot fix this problem and upgrading to unstable is unacceptable for you, you may want to use Greek symbols from other fonts. Many fonts include Greek symbols in addition to ISO-8859-1. Try Freefont (apt-get install ttf-freefont) - it implements almost all non-Asian alphabets.

My problem...

Posted Apr 18, 2004 3:37 UTC (Sun) by prahal (guest, #18427) [Link]

Please consider it as debian specific problem, other distros don t use backports. You can bet this has nothing to do with fontconfig/freetype quality , but akin comes from a distribution/dependency bug.
You should consider contacting the maintenair of the port or try public debian forums, irc, ML which are really responsive to those kind of problems (as we lives them in unstable first).
A good introduction to these is the gmane.linux.debian.user ML on www.gmane.org, which has a search tool.
btw freetype/fontconfig is a good bet.

PS: OT query results in OT answers. This little latex flame was fun .

My problem...

Posted Apr 22, 2004 20:43 UTC (Thu) by spitzak (subscriber, #4593) [Link]

This is a serious misunderstanding of how people use fonts by the Freetype/fontconfig
guys. The reason people choose the "Symbol" font is that they *LITERALLY* want the
code for 'A' to draw a greek alpha. It does NOT mean they want "access to the Unicode
entry for the Greek Alpha".

In fontconfig, to get a Greek alpha, not only do I have to send the special code for greek
alpha, I have to select the Symbol font. Why do I have to do both these steps, when the
unicode completly indicates what I want to do?

If Fonts were done right, I should be able to print the unicode entry for Greek Alpha and
get a Greek Alpha no matter what the current font is. Possibly some fonts will draw a
nicer one than others, but no matter what the setting is I should get an image that is a
greek alpha, perhaps from a 16x16 fallback bitmap for the entire Unicode glyph set.

"Selecting Symbol font" is for *BACK COMPATABILITY*. If it does not cause the code
for 'A' to print an alpha, it is USELESS. Microsoft understands this. The fontconfig people
don't. And this is exactly the sort of thing that is causing people to not like Linux.

Font Encoding

Posted Apr 23, 2004 16:36 UTC (Fri) by rfunk (subscriber, #4054) [Link]

Sounds like a font encoding problem to me. Reminds me of problems I have
when I accidentally select a unicode font encoding rather than an
iso-8859 encoding.

Since I don't use OOo much I'm not sure if that helps though.

OpenOffice.org Off the Wall: Fonts of Wisdom (Linux Journal)

Posted Apr 16, 2004 16:08 UTC (Fri) by ballombe (subscriber, #9523) [Link]

The author does not seem to have ever heard about TeX fonts which were available for
Linux since day 1 with an unmatched quality and quantity.
Granted, they have nothing to do with OOo. But stating that fonts were not
generally available for Linux until recently is inaccurate.

OpenOffice.org Off the Wall: Fonts of Wisdom (Linux Journal)

Posted Apr 16, 2004 16:29 UTC (Fri) by BruceByfield (guest, #20966) [Link]

Actually, I have heard of them. However, I consider that they fall under the "esoteric" that I mentioned. The article was already long enough without going into detail on every exception.

OpenOffice.org Off the Wall: Fonts of Wisdom (Linux Journal)

Posted Apr 19, 2004 11:46 UTC (Mon) by kreutzm (subscriber, #4700) [Link]

Well, considering that an entire scintific branch (physics) almost completly uses LaTeX, I would not call this esoteric. It just seems that most people nowadays expect something like WYSIWYG and thus do not consider LaTeX as an option (or it is not even presented to them at all).

OpenOffice.org Off the Wall: Fonts of Wisdom (Linux Journal)

Posted Apr 19, 2004 12:43 UTC (Mon) by pm (guest, #21019) [Link]

I really should know better than to do this, but I just can't help it

> considering that an entire scintific branch (physics)

Does LaTeX have a spell checker too?

OpenOffice.org Off the Wall: Fonts of Wisdom (Linux Journal)

Posted Apr 19, 2004 13:07 UTC (Mon) by kreutzm (subscriber, #4700) [Link]

Sure. aspell, ispell etc. For the latter check the "-t" flag. Depending on your editor you can call it inline, or simply run it afterwards on the file, but this should suit your editing preferences.

Copyright © 2004, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds