Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

using Lucida Grande in windows

Tags:

css

fonts

I want to use Lucida Grande in my website for windows.

How to do that ? how can i embed it to my webpage ?

Thanks

like image 339
Utku Dalmaz Avatar asked Dec 07 '10 09:12

Utku Dalmaz


3 Answers

I'm just looking for the same thing and stumbled upon this article:

http://www.brownbatterystudios.com/sixthings/2007/03/14/lucida-hybrid-the-grande-alternative/

It basically suggests to use Lucida Sans Unicode for normal text and Lucida Sans for bold and italic text.

body {
    font-family: "Lucida Sans Unicode";
}
b, strong, i {
    font-family: "Lucida Sans";
}

the complete code example (including fallback fonts) from the linked site:

body {
    font-family: "Lucida Sans Unicode", "Lucida Grande", Verdana, Arial, Helvetica, sans-serif;
}

strong, em, b, i {
    font-family: "Lucida Sans", "Lucida Sans Unicode", "Lucida Grande", Verdana, Arial, Helvetica, sans-serif;
}
like image 121
roberkules Avatar answered Nov 15 '22 09:11

roberkules


This is the font-stack I've used in the past:

font-family: 'Lucida Grande', Tahoma, Verdana, Arial, sans-serif;

like image 31
Russell Dias Avatar answered Nov 15 '22 09:11

Russell Dias


You can try something like this:

<style type="text/css">
@font-face {
    font-family: "Lucida Grande";
    src: url(/resources/fonts/lucidagrande.ttf);
}
.ace {
    font-family: "Lucida Grande";
    font-size: 90%;
}
</style>

and you should adjust the url used in the src: line and the actual location on disk of the .ttf file (depends on multiple factors: your document root location, or if you use a separate server for static resources, etc).

like image 36
alexandrul Avatar answered Nov 15 '22 09:11

alexandrul