OpenOffice.org default font replaced - unable to change

Bug #228599 reported by Kim Linoh
4
Affects Status Importance Assigned to Milestone
fontconfig (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

After the upgrade to Ubuntu 8.04 "Hardy Herdon" the Default font in OpenOffice.org got replaced by the font "Year2000" (y2k.ttf).
In WRITER the default fonts declared in "Options > Default fonts (western" are used, but in IMPRESS oder CALC only the font "Year2000" is used, i.e. for textfields, headings etc.
Changing the font temporary (for one textfield, etc ..) is possible, but changing this "default" font is impossible.
When removing the font file, the default font is set to another font - when copying it in a again, y2k is used again.
Using templates with replaced font is possible, but, i.e. diagrams are displayed and printed with y2k.
The font "arial" seems to be linked to y2k: When choosing "arial" as font, the text is wirtten in y2k.

Evenclean-reinstalling OOo, reinstalling fonts, updating font cache or removing the "responsible" fonts did not turn in any effect.

Using: Ubuntu 8.04 with Kernel 2.6.24-16-generic and 2.6.24-17-generic; OpenOffice.org 2.4
(Hope bug is not filed already, i searched for this, bud did not found anything)

Revision history for this message
Chris Cheney (ccheney) wrote :

This y2k font you have is probably buggy and claiming it is some other font internally. Can you attach it or direct me to where I can download it to examine it?

Thanks,

Chris Cheney

Changed in openoffice.org:
status: New → Incomplete
Revision history for this message
Chris Cheney (ccheney) wrote :

After rereading your bug report the y2k font is probably a hacked up arial font that wasn't properly changed which may be why you are seeing this problem. I can determine for certain if you attach it.

Revision history for this message
Kim Linoh (psychokim) wrote :

Hi Chris. - Sorry for mailing you, but I solved the log-in-problem only a few minutes after sending the mail -.-

So here I attach the font y2k.ttf.
But the next problem is, if i remove y2k.ttf from the .fonts folder, OpenOffice.org produces the same bug with Echo2.ttf, if this font is removed, some other font is used. (Kind of a vicious circle)
So I attach the Echo2.ttf font, too.

Hope you can find a workaround.
Thanks,
Kim

Revision history for this message
Kim Linoh (psychokim) wrote :
Revision history for this message
Chris Cheney (ccheney) wrote :

Thanks for attaching the fonts. I will have to have someone that knows more about fonts than I do to determine what is going on here. After looking at them in fontforge I couldn't immediately see anything wrong, but then I don't know what all to look for in there.

Thanks,

Chris

Changed in openoffice.org:
status: Incomplete → New
Revision history for this message
Kim Linoh (psychokim) wrote :

Here is another info, I noticed today: In CALC the default font IS "arial" (at least CALC says so) but this "arial" looks like and probably is "y2k". But if I look at "arial" in the .font folder, the font is displayed correct.

Hope this can help. Thanks for your time and help,
Kim

Revision history for this message
Kim Linoh (psychokim) wrote :

Hi.
Because of serious issues with fglrx and other things I was forced to reinstall Ubuntu 8.04.
But the font problem mentioned above still exists after reinstalling and using my old /home.
So I think the problem has its source somewhere in /home. Is this assumption right?
What files could be responsible for the bug?

Hope we can solve the bug, because it's really annoying somehow.
Thanks,
Kim

Revision history for this message
Kim Linoh (psychokim) wrote :

I also noticed that the font in diagrams e.g. in Calc or Imp which usually is "Albany" is also kind of linked to "y2k" so that this font is used. The "Albany" font seems to be inexistend in .fonts. Even using templates with other fonts doesn't solve the problem. All other fonts are changed, but the diagramm font is still "y2k", so that I have to change every text-piece manually.

The new update of OOo I installed today also didn't bring in any effect.

Would be great if someone could help - I need OOo and diagrams for a project at school....

Hoping for some workaround,
Kim

Revision history for this message
Chris Cheney (ccheney) wrote :

I'm pretty sure this is either an issue with fontconfig substitution or the font in question, so I am reassigning to fontconfig.

Revision history for this message
Kim Linoh (psychokim) wrote :

Okay. Hope there will be some solution soon.

Revision history for this message
Kim Linoh (psychokim) wrote :

Hello again.
Today I realized the following:
I opend a .doc with OOo and saw that my Arial-font, which worked fine before, was also exchanged by y2k. -.-
Is there anything anyone can do?

Revision history for this message
Kim Linoh (psychokim) wrote :

today I made a clean reinstall of OOo - deletion of all files and profiles included - but it didn't worked. Still Y2K is the deafault font in Calc, Impress and Draw.
Can anybody tell me where I can find the global font-config-file of OpenOffice.org? I suppose that I only have to change the font name in there. Writer uses the font I want after changing it with the GUI, but for Calc, Impress, Draw and Math there is no GUI -.-

Hope someona can help.

greets,
Kim

Revision history for this message
Arne Goetje (arnegoetje) wrote :
Download full text (3.3 KiB)

Opening the attached fonts with fontforge gives me these error messages:

Warning: Mac and Windows entries in the 'name' table differ for the
  Copyright string in the language English (US)
  Mac String: Typeface © The Monotype Corporation plc. Data © The Monotype Corporation plc/Type Solutions Inc. 1990-1992. All Rights Reserved
  Windows String: 1999 Iconian Fonts - http://members.xoom.com/iconianfonts/
Warning: Mac and Windows entries in the 'name' table differ for the
  Family string in the language English (US)
  Mac String: Arial
  Windows String: Year 2000
Warning: Mac and Windows entries in the 'name' table differ for the
  UniqueID string in the language English (US)
  Mac String: Monotype:Arial Regular:Version 2 (Microsoft)
  Windows String: Year 2000
Warning: Mac and Windows entries in the 'name' table differ for the
  Fullname string in the language English (US)
  Mac String: Arial
  Windows String: Year 2000
Warning: Mac and Windows entries in the 'name' table differ for the
  Version string in the language English (US)
  Mac String: MS core font:V2.00
  Windows String: 1
Warning: Mac and Windows entries in the 'name' table differ for the
  Postscript string in the language English (US)
  Mac String: ArialMT
  Windows String: Year2000

and:

Warning: Mac and Windows entries in the 'name' table differ for the
  Copyright string in the language English (US)
  Mac String: Typeface © The Monotype Corporation plc. Data © The Monotype Corporation plc/Type Solutions Inc. 1990-1992. All Rights Reserved
  Windows String: 1999 Iconian Fonts - http://members.xoom.com/iconianfonts/
Warning: Mac and Windows entries in the 'name' table differ for the
  Family string in the language English (US)
  Mac String: Arial
  Windows String: Eco-Files
Warning: Mac and Windows entries in the 'name' table differ for the
  UniqueID string in the language English (US)
  Mac String: Monotype:Arial Regular:Version 2 (Microsoft)
  Windows String: Eco-Files
Warning: Mac and Windows entries in the 'name' table differ for the
  Fullname string in the language English (US)
  Mac String: Arial
  Windows String: Eco-Files
Warning: Mac and Windows entries in the 'name' table differ for the
  Version string in the language English (US)
  Mac String: MS core font:V2.00
  Windows String: 1
Warning: Mac and Windows entries in the 'name' table differ for the
  Postscript string in the language English (US)
  Mac String: ArialMT
  Windows String: Eco-Files

This suggests to me that the fonts are buggy. They advertise themselves as Arial.

If you remove those fonts form your font directory, does it then work as expected?

Also, you can add the following snippet into your ~/.fonts.conf file:

<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
        <selectfont>
          <rejectfont>
            <pattern>
              <patelt name="family"><string>Year 2000</string></patelt>
              <patelt name="family"><string>Year2000</string></patelt>
              <patelt name="family"><string>Eco-Files</string></patelt>
              <patelt name="family"><string>Arial</string></pate...

Read more...

Changed in fontconfig:
status: New → Incomplete
Revision history for this message
Kim Linoh (psychokim) wrote :

Hi,
I tried to remove these fonts earlier but it did not work out, the "bug" kind of "jumps" to another font.

Since there was no file named .fonts.conf in my home directory I created that file and put the suggested content in there. But that did not help either. Even after reboot there is no effect. Have I made a misstake by creating that file or did you mean another file?

Revision history for this message
Kim Linoh (psychokim) wrote :

Due to the release of OpenOffice.org 3.0 and the coming release of Ubuntu 8.10 II, I want to "renew" my font-system - removing all non-default fonts in advance to the update and putting only correct fonts to the new system. In order to do so, I wanted to ask for the names of the default fonts that are installed with Ubuntu, so that I can remove everything but these fonts. Would be nice to get that info soon.
Thanks, Kim

Revision history for this message
Kim Linoh (psychokim) wrote :

Hey!
After the update to 8.10 I removed the fonts and only put the ones in, I could prove to be OK ... and it worked!
So this bug is only based on some buggy fonts - so no problem with fontconfig or OpenOffice.org. I was wrong suppose that.

Thanks for the help!
Kim

BUG SOLVED.

Revision history for this message
Arne Goetje (arnegoetje) wrote :

invalid, since it's not a bug in our software.

Changed in fontconfig:
status: Incomplete → Invalid
Revision history for this message
taka k. (scar) wrote :

i have this issue too. before i found this bug entry, i searched through the thousands of fonts i transferred over from my old windows machine to see which was causing the problem. (of course it was one of the last ones ;) )

like is mentioned above, if i remove the y2k font, another buggy font takes center stage to replace arial.

so i probably have several of these buggy fonts, and the only way i know how to find them is by looking thru the list manually by eye with an app like 'fonty python'.

first, then, i was wondering, is there a script or app that can scan thru all the fonts to see which ones are buggy?

second, is there an app that can be used to edit the font and correct the bugginess?

Revision history for this message
Arne Goetje (arnegoetje) wrote : Re: [Bug 228599] Re: OpenOffice.org default font replaced - unable to change

scar wrote:
> i have this issue too. before i found this bug entry, i searched
> through the thousands of fonts i transferred over from my old windows
> machine to see which was causing the problem. (of course it was one of
> the last ones ;) )
>
> like is mentioned above, if i remove the y2k font, another buggy font
> takes center stage to replace arial.
>
> so i probably have several of these buggy fonts, and the only way i know
> how to find them is by looking thru the list manually by eye with an app
> like 'fonty python'.
>
> first, then, i was wondering, is there a script or app that can scan
> thru all the fonts to see which ones are buggy?

not that I know of, but you could write one yourself if you know python.

> second, is there an app that can be used to edit the font and correct
> the bugginess?

fontforge.

However, it depends on the license of the font if you are allowed to
modify it, or not.

fontforge is scriptable. you can write a python script to check all your
fonts. However, depending on the level of checking, you will get a lot
of bug reports, even if those don't cause the failure.
Fontforge is very strict in that regard. ;)

Please note, that we do not ship y2k or the other buggy fonts which have
been mentioned here.

Revision history for this message
taka k. (scar) wrote :

when opening openoffice calc, i noticed that instead of using the default font of Arial, it was using the corrupted font. that is, to say, the font selected in the drop-down list was already set to the corrupted font. so, it was easy to see what the name of the corrupted font was. this may have been mentioned in the original bug report, but i can't decipher it.

fontforge was able to fix the font simply by opening and re-saving the font (or it is actually called "generate font" i believe).

that must have been the last corrupted font i had because now Arial is displaying like Arial.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.