Issue 186784 in chromium: Roboto font does not work

68 views
Skip to first unread message

chro...@googlecode.com

unread,
Mar 12, 2013, 12:13:44 PM3/12/13
to chromi...@chromium.org
Status: Unconfirmed
Owner: ----
Labels: Pri-2 Via-Wizard Type-Compat OS-Android

New issue 186784 by olejo...@gmail.com: Roboto font does not work
http://code.google.com/p/chromium/issues/detail?id=186784

Example URL:
http://www.olejon.net/code/bug-demos/chrome-android-roboto/

Steps to reproduce the problem:
1. Go to the URL provided with the latest stable version of Chrome for
Android

What is the expected behavior?
The first div should use the Roboto font and the second should use the
Verdana font.

What went wrong?
Even though Android includes the Roboto font (obviously), Chrome falls back
to some Sans-Serif font. This is weird, since Chrome seems to display the
Microsoft font Verdana correctly, while the Google & system-default font
Roboto is not supported.

Does it occur on multiple sites: N/A

Is it a problem with a plugin? No

Did this work before? N/A

Does this work in other browsers? N/A

Chrome version: 25.0.1364.169 Channel: stable
OS Version: 4.2.2

Adding something like this to the HTML head (using CSS' @font-face) makes
Roboto work:

<link rel="stylesheet"
href="http://fonts.googleapis.com/css?family=Roboto:400,400italic,700,700italic">

But that involves loading the font from an external server, which shouldn't
be necessary when the system has the font onboard.

Tested on Galaxy Nexus with stock Android 4.2.2.

--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

chro...@googlecode.com

unread,
Sep 9, 2013, 3:58:20 AM9/9/13
to chromi...@chromium.org
Updates:
Status: Duplicate
Mergedinto: 167557

Comment #1 on issue 186784 by kenji...@chromium.org: Roboto font does
not work
http://code.google.com/p/chromium/issues/detail?id=186784

What you are looking for is the local() property in a @font-face definition.
This is currently broken (see issue 167557)
Reply all
Reply to author
Forward
0 new messages