New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 615884 link

Starred by 2 users

Issue metadata

Status: WontFix
Owner:
Last visit > 30 days ago
Closed: Jul 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 3
Type: Bug



Sign in to add a comment

Linux Libertine doesn't display in chromium for Ubuntu when visiting Wikipedia

Reported by dandr...@gmail.com, May 30 2016

Issue description

Chrome Version       : 50.0.2661.102
OS Version: Linux Mint 17.3 (which is based on Ubuntu 14.04 packages)
URLs (if applicable) : http://en.wikipedia.org/wiki/Wikipedia_logo
Other browsers tested: Firefox 46
  Add OK or FAIL after other browsers where you have tested this issue:
  Firefox 46.x: OK

~

What steps will reproduce the problem?

1) sudo apt-get install "fonts-linuxlibertine" from the ubuntu repositories.

2) Navigate to: http://en.wikipedia.org/wiki/Wikipedia_logo using chromium.
OR 2) Visit any article (not the front page) using chromium.



What is the expected result?

Linux Libertine should show up at headings, subheadings.



What happens instead of that?

Liberation Serif gets used instead.



Please provide any additional information below. Attach a screenshot if
possible.

Actual behavior on Firefox:

Linux Libertine is used as expected.

Workaround for chromium:

Open Developer Tools and edit the CSS to define "Linux Libertine o" instead of "Linux Libertine" and the font will show up even in chromium.




UserAgentString: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/50.0.2661.102 Chrome/50.0.2661.102 Safari/537.36
 
chromium - Wikipedia_logo.png
196 KB View Download
firefox - Wikipedia_logo.png
180 KB View Download

Comment 1 by dandr...@gmail.com, May 30 2016

This bug seems similar to another bug, but without the @font-face stuff they were talking about:
https://bugs.chromium.org/p/chromium/issues/detail?id=578275
Cc: tkonch...@chromium.org
Labels: Needs-Feedback
Unable to reproduce the issue on Linux 14.04 chrome stable version 51.0.2704.103 - Linux Libertine is used as expected.


Please find the screenshot

Could you please upgrade to latest stable and see if the issue still exists
Screenshot from 2016-06-17 14:19:52.png
603 KB View Download

Comment 3 by dandr...@gmail.com, Jun 17 2016

Hello tkonchada,

I tried the latest version of Chrome, and I still have the issue. In fact, the issue is visible in your screenshot as well, I think.

Edit the CSS to say "Linux Libertine O" and you will see the font change. Your screenshot shows a serif fallback font, probably Liberation Serif.

To clarify what I mean in reporting this issue: the page always "uses" Linux Libertine by requesting the font in its CSS sheet. That part is fine. I am reporting as a bug that chromium *does not render* Linux Libertine as requested.

This is because of two things: 

1) The underlying Linux font system only knows Linux Libertine by a weird name, which its font creator specified in the font file, and which happens to be "Linux Libertine O". I don't know why they did that, but that's what they did. They should probably not do that. (note: I looked it up just now, and the font creators did this only to the OpenType version, by design. The TrueType version is simply "Linux Libertine". They say they did this to let you install and use both side by side.) (note 2: Ubuntu's repositories, meanwhile, only give you the OTF version, "Linux Libertine O". Maybe the Ubuntu package should be changed to [additionally, or exclusively] offer the TTF version? Or they should add a package ttf-linuxlibertine and have fonts-linuxlibertine suggest it?)

2) This strange (in my opinion) situation is "fixed" with fontconfig, a system that helps Linux systems handle font usage in various scenarios. fontconfig entries for Linux Libertine tell the system to use Linux Libertine [O] (in whatever TTF or OTF version you have installed)  whenever "Linux Libertine" OR "Linux Libertine O" are requested.

2a) Chrome does not heed the fontconfig system, apparently by design, and apparently due to a conscious decision by developers. 

"Because web pages themselves (via CSS) provide their own font fallback preferences, Chrome *disregards* the font fallback provided by fontconfig except when the fonts requested by the page don't provide the characters needed. (We believe this general goal is a feature, not a bug, . . . )"

(quoted from the archived blog of an ex chrome dev: http://neugierig.org/software/chromium/fonts)

2b) in contrast with this behavior, Firefox on Linux uses fontconfig all the way, and thus picks up the fontconfig system's hints. It understands that the "Linux Libertine O" file provides "Linux Libertine." From the user perspective, it "just works" in Firefox.

So that was a long comment, but that's what's going on. I hope there is a way that users can get Linux Libertine from the official Ubuntu repositories AND have them work in chrome/ium; I wish to point out that is *not* possible at the moment.

My suggestions: either Chrome/ium should support fontconfig font fallback, OR Ubuntu should package the TTF version of the font, or someone should patch the version of the font in Ubuntu's repositories to not have the "Linux Libertine O" name and use plain "Linux Libertine" instead.

Comment 4 by dandr...@gmail.com, Jun 18 2016

Also I noticed in your screenshot: your browser seems to be rendering Georgia, not Linux Libertine, on the page heading and subheadings.
Project Member

Comment 5 by sheriffbot@chromium.org, Jun 18 2016

Labels: -Needs-Feedback Needs-Review
Owner: tkonch...@chromium.org
Thank you for providing more feedback. Adding requester "tkonchada@chromium.org" for another review and adding "Needs-Review" label for tracking.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot

Comment 6 by dandr...@gmail.com, Jun 25 2016

I started a thread about this in the Ubuntu-devel-discuss mailing list. No-one has replied yet. :/

Comment 7 by dandr...@gmail.com, Jun 25 2016

as mentioned in Comment 6, the ubuntu-devel-discuss thread: https://lists.ubuntu.com/archives/ubuntu-devel-discuss/2016-June/016645.html
Components: Blink>Fonts
Labels: -Needs-Review Needs-Feedback
Owner: ----
Unable to reproduce the issue on Linux 14.04 chrome stable version 51.0.2704.106 - "Linux Libertine",Georgia,Times,serif" font-family is used

Please find the screenshot

Could you please try the same on a new profile where there are no apps/extensions and update the thread. You can create a new profile from chrome://settings
Screenshot from 2016-07-15 16:19:15.png
630 KB View Download

Comment 9 by dandr...@gmail.com, Jul 16 2016

That's not the issue I am reporting.

Either Chromium should use fontconfig to pick font replacements (fixes the issue, i.e. makes chromium behave like Firefox does), or this bug should be marked invalid/won't fix.

Thank you for your time.
Project Member

Comment 10 by sheriffbot@chromium.org, Jul 17 2016

Labels: -Needs-Feedback Needs-Review
Owner: tkonch...@chromium.org
Thank you for providing more feedback. Adding requester "tkonchada@chromium.org" for another review and adding "Needs-Review" label for tracking.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot

Comment 11 by e...@chromium.org, Jul 18 2016

Cc: ebra...@gnu.org
Status: WontFix (was: Unconfirmed)
Thanks for the detailed report dandromb. This is indeed the "desired" behavior even though it doesn't work as one would expect in this case.

 Bug 47683  tracks the feature request to use fontconfig for fallback.

Sign in to add a comment