View previous topic :: View next topic |
Author |
Message |
g4j Apprentice
Joined: 03 Jul 2004 Posts: 174 Location: Florida
|
Posted: Fri Nov 03, 2006 1:30 am Post subject: [SOLVED]   renders incorrectly in web browsers |
|
|
I have a number of web pages that utilize EM-spaces, coded as  . When viewed in a browser on a Windows machine, this displays correctly as an EM-space. This used to display correctly in Gentoo as well. However, after a font upgrade about 6 months ago, Gentoo doesn't know what to do with  . In FireFox, it displays as a box with the numbers 2003. In Konquer, it just displays as an empty box.
I keep hoping that another font upgrade will fix the problem, but so far nothing has.
I have two Gentoo boxes: a Dell notebook with an ATI video card, and a AMD-64 with a nVidia card. I have the same problem on both machines.
Is something configured incorrectly, or are the current fonts flawed?
Thanks.
Last edited by g4j on Mon Dec 11, 2006 9:23 pm; edited 2 times in total |
|
Back to top |
|
|
yabbadabbadont Advocate
Joined: 14 Mar 2003 Posts: 4791 Location: 2 exits past crazy
|
Posted: Fri Nov 03, 2006 1:46 am Post subject: |
|
|
Can you provide a sample web page with which we can test? _________________
Bones McCracker wrote: | On the other hand, regex is popular with the ladies. |
|
|
Back to top |
|
|
g4j Apprentice
Joined: 03 Jul 2004 Posts: 174 Location: Florida
|
Posted: Fri Nov 03, 2006 2:20 am Post subject: |
|
|
Thanks. You can see a test page at http://gapyoq.net
That particular page uses the 1251 character set, but I have the same problem regardless of character set. |
|
Back to top |
|
|
yabbadabbadont Advocate
Joined: 14 Mar 2003 Posts: 4791 Location: 2 exits past crazy
|
Posted: Fri Nov 03, 2006 2:25 am Post subject: |
|
|
This is how it appears when I view the page. Is that correct? _________________
Bones McCracker wrote: | On the other hand, regex is popular with the ladies. |
|
|
Back to top |
|
|
g4j Apprentice
Joined: 03 Jul 2004 Posts: 174 Location: Florida
|
Posted: Fri Nov 03, 2006 3:22 am Post subject: |
|
|
No, this is what I see.
What browser are you using? |
|
Back to top |
|
|
yabbadabbadont Advocate
Joined: 14 Mar 2003 Posts: 4791 Location: 2 exits past crazy
|
Posted: Fri Nov 03, 2006 3:48 am Post subject: |
|
|
Code: | /home/bubba $ equery l firefox
[ Searching for package 'firefox' in all categories among: ]
* installed packages
[I--] [ -] www-client/mozilla-firefox-1.5.0.7 (0)
|
It looks like what is displayed when you don't have proper unicode support. (I do) _________________
Bones McCracker wrote: | On the other hand, regex is popular with the ladies. |
|
|
Back to top |
|
|
g4j Apprentice
Joined: 03 Jul 2004 Posts: 174 Location: Florida
|
Posted: Fri Nov 03, 2006 3:57 am Post subject: |
|
|
I also have Unicode support.....
Code: | # emerge --info
Portage 2.1.1-r1 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.4-r3, 2.6.17-gentoo-r8_2006-09-25_Jacob i686)
=================================================================
System uname: 2.6.17-gentoo-r8_2006-09-25_Jacob i686 Intel(R) Pentium(R) M processor 1.60GHz
Gentoo Base System version 1.12.6
Last Sync: Thu, 02 Nov 2006 16:30:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python: 2.3.5-r2, 2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache: [Not Present]
dev-util/confcache: [Not Present]
sys-apps/sandbox: 1.2.17
sys-devel/autoconf: 2.13, 2.60
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils: 2.16.1-r3
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool: 1.5.22
virtual/os-headers: 2.6.17-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium3 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=pentium3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.utf8"
LC_ALL="en_US.utf8"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X aalib alsa apache2 apm arts berkdb bitmap-fonts cli cracklib crypt cups dba dbm dlloader dri dvd dvdr dvdread eds elibc_glibc emboss encode esd exif flash foomaticdb fortran ftp gdbm gif gpm gstreamer gtk gtk2 howl iconv imagemagick imlib input_devices_keyboard input_devices_mouse input_devices_synaptics ipv6 isdnlog javascript jpeg kde kernel_linux libcaca libg++ libwww mad mikmod mime motif mp3 mpeg mysql ncurses nls nptl nptlonly nsplugin odbc ogg opengl osc oss pam pcmcia pcre pda pdf perl php png pppd python qt3 qt4 quicktime readline reflection samba sdl session spell spl sqlite ssl svg svga tcpd tidy tiff truetype truetype-fonts type1-fonts udev unicode usb userland_GNU video_cards_ati video_cards_fbdev video_cards_i810 video_cards_i915 video_cards_radeon video_cards_vesa vorbis wifi wmf xml xorg xv xvid zlib"
Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS |
|
|
Back to top |
|
|
yabbadabbadont Advocate
Joined: 14 Mar 2003 Posts: 4791 Location: 2 exits past crazy
|
Posted: Fri Nov 03, 2006 3:58 am Post subject: |
|
|
What does locale report when you run it?
Code: | /home/bubba $ locale
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=
|
_________________
Bones McCracker wrote: | On the other hand, regex is popular with the ladies. |
|
|
Back to top |
|
|
g4j Apprentice
Joined: 03 Jul 2004 Posts: 174 Location: Florida
|
Posted: Fri Nov 03, 2006 4:02 am Post subject: |
|
|
Thanks yabbadabbadont. Here's mine.....
Code: | # locale
LANG=en_US.utf8
LC_CTYPE="en_US.utf8"
LC_NUMERIC="en_US.utf8"
LC_TIME="en_US.utf8"
LC_COLLATE="en_US.utf8"
LC_MONETARY="en_US.utf8"
LC_MESSAGES="en_US.utf8"
LC_PAPER="en_US.utf8"
LC_NAME="en_US.utf8"
LC_ADDRESS="en_US.utf8"
LC_TELEPHONE="en_US.utf8"
LC_MEASUREMENT="en_US.utf8"
LC_IDENTIFICATION="en_US.utf8"
LC_ALL=en_US.utf8
|
I see mine says utf8 where as your's is UTF-8. Could the hyphen and/or case be the difference? I have no clue where this is set. |
|
Back to top |
|
|
yabbadabbadont Advocate
Joined: 14 Mar 2003 Posts: 4791 Location: 2 exits past crazy
|
Posted: Fri Nov 03, 2006 4:10 am Post subject: |
|
|
I believe it is set in /etc/locale.gen. I forget the commands to recreate the locales though. I followed the UTF-8 howto in the Gentoo documentation to set it all up.
http://www.gentoo.org/doc/en/utf-8.xml _________________
Bones McCracker wrote: | On the other hand, regex is popular with the ladies. |
|
|
Back to top |
|
|
g4j Apprentice
Joined: 03 Jul 2004 Posts: 174 Location: Florida
|
Posted: Fri Nov 03, 2006 3:37 pm Post subject: |
|
|
Thanks. I've fixed the UTF-8 Locale issue, but things still don't display correctly in browsers. I guess maybe I need to rebuild my browsers? That will be a task for this weekend. |
|
Back to top |
|
|
g4j Apprentice
Joined: 03 Jul 2004 Posts: 174 Location: Florida
|
Posted: Mon Nov 06, 2006 7:31 pm Post subject: |
|
|
I've had a busy weekend working through the instructions in http://www.gentoo.org/doc/en/utf-8.xml. After making the tweaks and rebuilding my kernel, I had hoped that the problem would be solved. It wasn't, so I went on to emerge -N --deep world - which broke kdm and still didn't solve the problem.
sigh... now I'm going through the redev-rebuild steps, which keep failing. Maybe having little boxes show up in my browser isn't that bad after all.
Thanks yabbadabbadont for your help. I'll post again when/if I get this fixed. |
|
Back to top |
|
|
yabbadabbadont Advocate
Joined: 14 Mar 2003 Posts: 4791 Location: 2 exits past crazy
|
Posted: Mon Nov 06, 2006 11:12 pm Post subject: |
|
|
You also have to be sure to use unicode aware fonts in your browser. I've got mine set to "The Evil Trinity". (Times New Roman, Arial, Courier New ) _________________
Bones McCracker wrote: | On the other hand, regex is popular with the ladies. |
|
|
Back to top |
|
|
g4j Apprentice
Joined: 03 Jul 2004 Posts: 174 Location: Florida
|
Posted: Wed Nov 08, 2006 3:26 pm Post subject: |
|
|
Thanks yabbadabbadont. On my one computer that still has a functioning X, I changed FireFox to use the "Evil Trinity" as you suggested, but it made no difference.
I'm going to give this a rest. After all of the re-merging, KMD is broken on my AMD-64 desktop, and X is totally dead on my Dell notebook. Resolving these issues is now my top priority. Once I get both of them fixed, I'll see if I can muster up the courage to attack this again.
Thanks again for your help. |
|
Back to top |
|
|
g4j Apprentice
Joined: 03 Jul 2004 Posts: 174 Location: Florida
|
Posted: Mon Dec 11, 2006 9:26 pm Post subject: I got it fixed |
|
|
I finally found a fix for this. Added xprint to my useflags and ran emerge -N --deep world. Now the vertical spacing in FireFox and Thunderbird is all screwed up, but at least the em space is behaving properly. |
|
Back to top |
|
|
yabbadabbadont Advocate
Joined: 14 Mar 2003 Posts: 4791 Location: 2 exits past crazy
|
Posted: Mon Dec 11, 2006 10:44 pm Post subject: Re: I got it fixed |
|
|
g4j wrote: | I finally found a fix for this. Added xprint to my useflags and ran emerge -N --deep world. Now the vertical spacing in FireFox and Thunderbird is all screwed up, but at least the em space is behaving properly. |
Weird, I never had the xprint USE flag enabled when I was using Gentoo. Oh well, at least it is working for you now. _________________
Bones McCracker wrote: | On the other hand, regex is popular with the ladies. |
|
|
Back to top |
|
|
|