Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7860707
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T22:23:43+00:00 2026-06-02T22:23:43+00:00

Example CSS: @font-face { font-family: ‘Droid Serif’; font-weight: normal; font-style: italic; src: url(‘DroidSerif-Italic-webfont.eot’); src:

  • 0

Example CSS:

@font-face {
  font-family: 'Droid Serif';
  font-weight: normal;
  font-style: italic;
  src: url('DroidSerif-Italic-webfont.eot');
  src: url('DroidSerif-Italic-webfont.eot?#iefix') format('embedded-opentype'),
       local('Droid Serif'), local('DroidSerifItalic'),
       url('DroidSerif-Italic-webfont.woff') format('woff'),
       url('DroidSerif-Italic-webfont.ttf') format('truetype'),
       url('DroidSerif-Italic-webfont.svg#DroidSerifItalic') format('svg');
}

h1 {
  font-family:  'Droid Serif';
  font-weight: normal;
  font-style: italic;
}

Example HTML:

<div id="content">
    <h1>This is a big, big title</h1>
</div>

Droid Serif is a very common font on Linux systems these days (at least it’s available on Ubuntu which I use).

As you can see above, I have clearly defined local('Droid Serif'), local('DroidSerifItalic'), but the browser (Chromium in my case) is simply downloading the font file (WOFF format) instead of simply using the font that’s available on my computer.

Any idea what could be causing this? Am I doing something wrong, or the isn’t the ‘local’ value considered by browsers anymore?

EDIT: In case you are wondering, DroidSerifItalic is the post-script name for the Droid Serif font if you downloaded it from Font Squirrel (at least that what I’ve read).

EDIT-2: Just in case it’s not clear enough, I am using Chromium web browser on Ubuntu (v12.04).

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T22:23:47+00:00Added an answer on June 2, 2026 at 10:23 pm

    I looked at google’s implementation and they use this syntax/names:

    src: local('Droid Serif Italic'), local('DroidSerif-Italic')
    

    I guess it will work if you use this name! It could seem you simply got the postscript name wrong.

    Source: http://fonts.googleapis.com/css?family=Droid+Serif:400italic

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Here's an example @font-face CSS rule: @font-face { font-family: 'DroidSerifBoldItalic'; font-weight: normal; font-style: normal;
Consider the following example editor css: .heading{ font-size: 20pt; font-weight: bold; font-style: italic; }
fonts.css : @font-face { font-family: 'ubuntu'; src: url('../fonts/Ubuntu-Regular.ttf') format('truetype'); } @font-face { font-family: 'ubuntu-bold';
I'm asyncronously loading a css. @font-face{ src: url('fonts/le-havre-1_300_normal-webfont.eot'); src: url('fonts/le-havre-1_300_normal-webfont.eot?#iefix') format('embedded-opentype'), url('fonts/le-havre-1_300_normal-webfont.woff') format('woff'), url('fonts/le-havre-1_300_normal-webfont.ttf')
Given a font CSS string such as this: font:italic bold 12px/30px Georgia, serif; or
For example I have a css style like this : input.validation-passed {border: 1px solid
I was wandering how can I link font-family in css to a font in
Simple example: $(document).ready(function(){ $('body').css({'background-color': '#dddddd', 'font-size': '12pt'}); $('table tr:odd').addClass('rowShaded'); $('<p> Oh my learning jQuery
Why Textarea and textfield not taking font-family and font-size from body? See live example
For example, with a font-size switcher/button, if I use $('#container p').css('font-size', '24px'); it works

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.