Forums | MacLife
You are not logged in.
#1 2008-01-06 4:20 pm
Freaky ...
I think this is a Linux bug, it seems to only happen with the Helvetica LT font though.
Here is the complete source:
Code:
<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/2001/REC-xhtml11-20010531/DTD/xhtml11-flat.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> <head><title>u_umlaut</title></head><body> <p style="font-family: 'Helvetica LT', sans-serif; font-size: 1.1em;"> Für Elise<br /> <b>Für Elise</b><br /> <i>Für Elise</i><br /> <b><i>Für Elise</i></b> </p> <p style="font-family: 'Helvetica LT', sans-serif; font-size: 1.3em;"> Für Elise<br /> <b>Für Elise</b><br /> <i>Für Elise</i><br /> <b><i>Für Elise</i></b> </p> </body> </html>
Notice that the only difference between the two paragraphs is the size changed from 1.1em to 1.3em
Here is the result in FireFox:
Notice the ü is only screwed up in the normal face at the small font size.
Is that weird or what?
Increase the font size, and it works as it should.
It took me over an hour to figure out what the smurf was going on.
I think the obvious question everyone has is who takes loaded weapons into a Toys R Us? -- Jim Ferguson
Offline
#2 2008-01-06 9:43 pm
- Stan
- Member

- From: Rock Island
- Registered: 2002-04-09
- Posts: 706
Re: Freaky ...
Yeah, that sure is freaky. Have you tried it with the style in the head or on separate style sheet? That shouldn't make any difference, but the size shouldn't make any difference either.
Offline
#4 2008-01-07 7:32 am
Re: Freaky ...
Does it do the same with other fonts or just that one? (you hint at it only being in Helvetica LT, but I wanna be sure).
And: does it happen in other browsers? Have you tried building a webkit based browser and testing that?
Also: what happens if you first define what 1em is in pixels?
I'd try reinstalling the font.
Last edited by Gipetto (2008-01-07 7:33 am)
So, just when did this place get Private Messages? YIKES!
Gippy Pages | Fuzzy Coconut XHTML Widget | PuppyCam
Offline
#5 2008-01-07 4:50 pm
Re: Freaky ...
The font is fine (md5sum matches md5sum at installation)
It only happens with that particular font - I'll try defining pixels and see what that does.
I think it is a bug in the the fontconfig TrueType engine, possibly related to the fact that they have to avoid the apple patents (which I think expire in a few years).
I think the obvious question everyone has is who takes loaded weapons into a Toys R Us? -- Jim Ferguson
Offline
#6 2008-01-07 4:59 pm
Re: Freaky ...
It doesn't happen in my word processor with small sizes, so it may be a bug in the xft2 build of FireFox2. I'm going to see if it happens in FireFox 1.5.
I could try konq but that would require installing a bunch of KDE crap.
I think the obvious question everyone has is who takes loaded weapons into a Toys R Us? -- Jim Ferguson
Offline
#7 2008-01-08 10:17 pm
Re: Freaky ...
It's working fine for me now.
I did not update any software, so I can't explain it.
I think the obvious question everyone has is who takes loaded weapons into a Toys R Us? -- Jim Ferguson
Offline
#8 2008-01-09 2:27 am
Re: Freaky ...
I would be interested to see if that happened if you used
Code:
ü
Code:
& # 2 5 2 ;
or
Code:
ü
instead of
Code:
ü
Last edited by matt (2008-01-09 2:28 am)
Offline
#9 2008-01-09 4:30 am
Re: Freaky ...
I happened with ü as well - that was the first thing I tried.
Now it is working peachy though.
Now it is operating normal, I'm guessing it was a corrupted font cache file that got re-generated by a system cron job.
I think the obvious question everyone has is who takes loaded weapons into a Toys R Us? -- Jim Ferguson
Offline


