Custom Font Delivery  Bottom

  • in a few pages at other sites- not using postnuke - I have seen custom fonts being delivered with a page. I have done a little bit of looking but have not been able to find how a custom font (like say one with zodiac and planetary symbols) can be called and rendered from CSS. I have seen a couple of 3rd party pnModules use custom fonts (off hand I would have to go back and find them) but I have yet to really understand this technique to be able to use it if I wanted to.

    I would think that it would be like linking a CSS file to a page or external js to a page. But I am just not finding the right info so that I can even understand just the basic method for delivering the font with the page.

    Past alternatives for using custom fonts required folks to download the font seperatly and install it to their system. Custom fonts have been frowned upon in general, with the whole accessibility aspect in addition to the page dependancy on the spacific font, as well as copyright on a font, (I get all that.)

    My Basic questions then are:
    Yes, I would like to include a custom font for portions of a pnTheme, how might I do this?

    And, Where might I find a good CSS tutorial on font delivery with web pages?

    Preemptively, I am not so interested in arguments agenst the techniques of using custom fonts - as I know there are more reasons why custom/spacific FAILs where relative/common succeeds & functions. Also I know often times choices are made to use Graphics for symbols where some fonts fail or the understanding of calling a character out of a common font is ignored, so delivering a graphic symbol is not really a point of interest for me here - but it is part of the whole issue - along side accessability, design, readability, and useability.

    --
    Paul
    ____________________________________________________
    "...Humor, ITs just a state of mind"
    TakeIT2.CoM :: Open Destination
    ...my site is a perfect example of why doctors do not operate on them self :)
  • I know the sIFR font replacement with flash and there is an article on alistapart, here on dynamic text replacement.

    And with the good old search engine, there is also something with the MS guys, font embedding/

    another article

    --
    campertoday.nl, Module development, Dutch Zikula Community
  • I believe, from reading the forums over a period of time, that .9 or 1.0 ($NewName['whatever']) will have a language system in place that that allows for multibyte characters via gettext() which might do what you're looking for. But for now you're stuck with what the user has on their system.

    Please correct me if I'm wrong.

    --
    Under Construction!
  • the easyiest way is to generate a picture by using Smarty

    in your template

    Code

    <!--[$var|createFont ]-->


    where createFont is a Smarty modifier based on the script given above
    http://www.alistapart.com/d/dynatext/heading.php.txt
    http://fr2.php.net/manual/fr/function.imagettftext.php

    don't forget to post the result of your work in the plugin section :)



    edited by: mumuri, May 29, 2008 - 10:21 AM
  • AFAIK "SIFR" is an accessible alternative to these suggestions.

    --
    best regards from Kiel, sailing city

    Steffen Voss

    Member of the Zikula Steering Committee
    Read The Zikulan's Blog "If you want people to RTFM, make a better FM!"
  • Yup, that's why I listed it in the 1st reaction icon_biggrin
    You will need a flash editor BTW if you need special fonts. The fonts are embedded in a flash file and there are only some files out there with preinstalled fonts. So for a special font you need to edit the flash file and insert you own font. But the sifr pages explain that very clear.

    --
    campertoday.nl, Module development, Dutch Zikula Community
  • This article can be of your interest icon_wink

    --
    - Mateo T. -
    Mis principios... son mis fines

This list is based on users active over the last 60 minutes.