ShowFont

Das WordPress-Plugin, mit dem ich die Schriften auf dieser Seite präsentiere. Zum Beispiel hier, hier oder hier.

Instructions

First make sure the font you want to display is properly loaded and mentioned in your CSS. I personally recommend fontsquirrel for font conversion and css creation. The are doing a wonderful work!

Then insert the <showfont /> Tag in your HTML. It takes the follwing attributes:

  • fontname (required): The exact name of the font as specified in your css.
  • title (optional): The fontname you would like to display.
  • style (optional): The font style. Either italic or normal
  • weight (optional): The font weight. Either bold or normal.

Example:

<showfont fontname="DroidSerifRegular" title="Droid Serif" weight="bold" style="italic" />

Download Version 0.1

Filed under Programmierung, Schrift.

Hinterlasse eine Antwort

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind markiert *

*


*

Du kannst folgende HTML-Tags benutzen: <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>