You are not logged in.

#1 2014-08-09 01:21:33

luisrayas3
Member
Registered: 2014-06-05
Posts: 8

[Solved]Character offset in Chromium font

Hello everyone,
Strange one here. The font used for application-related text (i.e. title-bars, address bar, menus, etc.) in Chromium seems to be offset by one code point. In other words, what should be a 'b' is displayed as an 'a', 'c'->'b', ... for all characters. Screenshot:
http://i46.photobucket.com/albums/f111/ … eddeb2.jpg
I'm 99% sure it has been like this since I installed Chromium (at first I tried solving by myself and waited a while before thinking to come here for help) and an uninstall/reinstall did not solve the issue. I'd installed fonts and messed around with them here and there but pretty sure I never changed anything for Chromium specifically. I would be satisfied even just to learn what font Chromium is using for the application text but I cannot find this information. All help appreciated.

$ chromium --version
Chromium 36.0.1985.125
$ uname -a
Linux archibald 3.14.4-1-ARCH #1 SMP PREEMPT Tue May 13 16:41:39 CEST 2014 x86_64 GNU/Linux



-- mod edit: read the Forum Etiquette and only post thumbnails http://wiki.archlinux.org/index.php/For … s_and_Code [jwr] --

Last edited by luisrayas3 (2014-08-11 15:30:26)

Offline

#2 2014-08-09 03:28:00

Pse
Member
Registered: 2008-03-15
Posts: 413

Re: [Solved]Character offset in Chromium font

Really odd. Have you tried deleting all Chromium files from your home folder?

Offline

#3 2014-08-09 03:47:55

luisrayas3
Member
Registered: 2014-06-05
Posts: 8

Re: [Solved]Character offset in Chromium font

tks mod & sorry for bad etiquette

I just deleted everything in

~/.config/chromium

and issue persists albeit in a different theme.

Offline

#4 2014-08-09 17:36:43

Pse
Member
Registered: 2008-03-15
Posts: 413

Re: [Solved]Character offset in Chromium font

Have you installed any fonts recently?

Offline

#5 2014-08-09 18:19:00

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,203

Re: [Solved]Character offset in Chromium font

I wonder if this is related?


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Online

#6 2014-08-09 22:37:14

luisrayas3
Member
Registered: 2014-06-05
Posts: 8

Re: [Solved]Character offset in Chromium font

I tried the solution in the other thread, namely reinstalling fontconfig without luck. I am not attached to any fonts I have installed so if this helps:

$ pacman -Qs | grep font
local/font-misc-ethiopic 1.0.3-1 (xorg xorg-fonts)
    X.org Misc Ethiopic fonts
local/fontconfig 2.11.1-1
    A library for configuring and customizing font access
local/fontsproto 2.1.3-1
    X11 font extension wire protocol
    TrueType font rendering library
local/libfontenc 1.1.2-1
    X11 font encoding library
local/libxfont 1.5.0-1
    X11 font rasterisation library
    FreeType-based font drawing library for X
local/otf-ipafont 003.03-3
    Japanese outline fonts by Information-technology Promotion Agency, Japan (IPA)
    CJK Unicode font Ming style
    Korean fonts
local/ttf-freefont 20120503-3
    Set of free outline fonts covering the Unicode character set
    Convert X font from Bitmap Distribution Format to Portable Compiled Format
local/xorg-font-util 1.3.0-2 (xorg-fonts xorg)
    X.Org font utilities
local/xorg-font-utils 7.6-4
    Transitional package depending on xorg font utilities
local/xorg-fonts-100dpi 1.0.1-5 (xorg)
    X.org 100dpi fonts
local/xorg-fonts-75dpi 1.0.3-1 (xorg)
    X.org 75dpi fonts
local/xorg-fonts-alias 1.0.3-1
    X.org font alias files
local/xorg-fonts-encodings 1.0.4-4 (xorg-fonts xorg)
    X.org font encoding files
local/xorg-fonts-misc 1.0.1-3
    X.org misc fonts
local/xorg-mkfontdir 1.0.7-2 (xorg xorg-apps)
    Create an index of X font files in a directory
local/xorg-mkfontscale 1.1.1-1 (xorg-apps xorg)
    Create an index of scalable font files for X

Offline

#7 2014-08-10 15:31:19

luisrayas3
Member
Registered: 2014-06-05
Posts: 8

Re: [Solved]Character offset in Chromium font

Solved! ttf-freefont was installed as a dep for chromium, you can choose from

:: There are 8 providers available for ttf-font:
:: Repository extra
   1) ttf-bitstream-vera  2) ttf-dejavu  3) ttf-freefont  4) ttf-linux-libertine  5) ttf-oxygen
:: Repository community
   6) ttf-droid  7) ttf-liberation  8) ttf-ubuntu-font-famil

Funny enough, I tried reinstalling chromium but with ttf-linux-libertine and the problem persisted and I was about to post here saying it was font independent but right before submitting tried a third font (default/1) and the problem was gone!

Btw, I AM able to reproduce by reinstalling with ttf-freefont and ttf-linux-libertine and so I tried them all and for future reference:
ttf-bitstream-vera -> OK
ttf-dejavu -> OK
ttf-freefont -> NOT OK
ttf-linux-libertine -> NOT OK
ttf-oxygen -> NOT OK
ttf-droid -> uhhhhh... arabic script?? NOT OK
ttf-liberation -> NOT OK
ttf-ubuntu-font-family -> NOT OK

Very strange, would love to learn whether others are able to reproduce, but solved for me by sticking to default.

Offline

#8 2014-08-10 23:58:52

Pse
Member
Registered: 2008-03-15
Posts: 413

Re: [Solved]Character offset in Chromium font

I'm glad you found the cause. Please don't forget to put [SOLVED] in the title. Might be some Chrome specific problem with non-Bitstream fonts for the UI? (Deja-Vu is based on Bitstream Vera). Odd.

Last edited by Pse (2014-08-10 23:59:54)

Offline

Board footer

Powered by FluxBB