embedding fonts with typeface.js

Ever wanted to embeed fonts toyour webpages but not sure if your end users will have those fonts in their computer, here enters typeface.js. you can embeed any kind of fonts to the site with the help of typeface.js. Just include the typeface.js file and create a js file for your desired font from their online service at http://typeface.neocracy.org/fonts.html the process of using typeface.js in your website is very easy:

<script src="typeface-0.13.js"></script> <script src="helvetiker_regular.typeface.js"></script>
<div style="font-family: Helvetiker">Text here in Helvetiker font...</div>

contact me if you will need any help embeeding fonts in your site with typeface.js

for more information you can go to http://typeface.neocracy.org/

This entry was posted in Uncategorized. Bookmark the permalink.

2 Responses to embedding fonts with typeface.js

  1. Boa tarde,

    Estou com algumas dúvidas e gostaria que o amigo me ajudasse sobre o typeface.js

    A fonte que estou usando no meu caso (humanst521_cn_bt_regular) só consegue ser visualizada se o usuário tiver a mesma fonte instalado no pc?)Isso porque o site carrega as fontes normalmente no meu pc e em outro que possuem a fonte, usando o método aplicado no css.

    Os arquivos da fonte e do typeface-0.14.js devem estar na raiz ou em uma pasta especifica

    Criei uma classe chamada titulo e defini assim:
    TEXTO
    e não consigo renderizar a fonte.

    Estão apontado dentro da tag
    os arquivos dos estilos e o script do js.

    Os texto estão em classe na folha de estilos, chamando a font-family escolhida (Humanst521 Cn BT), com outras propriedades da fonte.

    Gostaria de um auxílio para essas minha dúvidas.

  2. yalamber says:

    Sorry couldn’t understand your language. Please reply in english

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>