Lettertypes

Uit DeVliegendeWiki

Ga naar: navigatie, zoeken

Drupal defineert lettertypes (fonts) in css-bestanden middels commando's zoals

{font-family: your-font-name;}

Zie ook onderstaande post (bron)

On Tue, Aug 18, 2009 at 10:40 AM, Alexander Arul
<alexander.arul at gmail.com>wrote:

> As far as I know, there are a bunch of fonts that are called "web-safe",
> meaning they will be visible on all major operating systems. Arial /
> Helvetica, Times New Roman / Times, Courier New / Courier etc.  Here is a
> full list <http://web.mit.edu/jmorzins/www/fonts.html>
>
> If you use the *"font-family: Arial,Verdana,Georgia;"* CSS attribute, the
> browser will fall back along that list - if Arial isn't available, use
> Verdana, if not, Georgia.
>
> Having said all that, I also have some questions along this line:
>
> 1. Can non-standard fonts be used? If a user has, for example,
> "flowery-cursive" font on their pc, and I specify the the css to use
> "font:flowery-cursive;", will that work?
>

Yes, i'm using a non-standard font, I will going to test if this issue is
working, but in this way the visualization would depend by the final user, I
want that the visualization not depends of the final user.
Can I embed a ttf font into my theme or drupal system?

> 2. I remember some websites way back in the 1997-1999 period would ask the
> user to download fonts. What is all that about?

Bronnen

Drupal

Een standaardinstallatie van Drupal gebruikt:

color: 49 49 49
font-family: Verdana, sans-serif
font-size: 12px
line-height: 170%

Web-safe fonts

http://web.mit.edu/jmorzins/www/fonts.html

Persoonlijke instellingen