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 :)
- mdee responded to »Different page content under one template (tpl file) based on URL« 07:17 AM
- Guite responded to »Remove contents of nuke_sc_anticracker from Database« 01:30 AM
- espaan responded to »Categories disappear when editing ...« 08. Feb
- eledril responded to »How decrease zikula cpu usage« 08. Feb
- jmvaughn responded to »PN 0.764 to Zikula 1.1.2 (migration) Internal Server Error« 08. Feb
- eledril created topic »Where can I download BBCode and BBSmile?« 08. Feb
- Paustian responded to »Need Feedback« 08. Feb
Zikula Blog
- Anatomy of Open Source Projects on Mar 07
- Continuous Review on Mar 01
- Not Invented Here on Feb 24
- How to Contribute Your Code at Github on Jan 13
- 10 Steps to Coding-Nirvana: Tips for Successful Module Writing on Nov 12
- Submitting Bug Report Tickets That Get Results on Aug 17
- Cozi Tricks #1: Syntax Highlighting on Aug 07
Login
Custom Font Delivery
-
- Rank: Developer
- Registered: Dec 31, 1969
- Last visit: May 31, 2010
- Posts: 303
-
- Rank: Developer
- Registered: Aug 23, 2003
- Last visit: May 31, 2010
- Posts: 1401
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 -
- Rank: Expert
- Registered: Nov 23, 2003
- Last visit: Dec 13, 2009
- Posts: 1487
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! -
- Rank: Developer
- Registered: May 17, 2004
- Last visit: Apr 08, 2010
- Posts: 386
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 -
- Rank: Software Foundation
- Registered: Sep 03, 2002
- Last visit: May 09, 2010
- Posts: 909
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!" -
- Rank: Developer
- Registered: Aug 23, 2003
- Last visit: May 31, 2010
- Posts: 1401
Yup, that's why I listed it in the 1st reaction
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 -
- Rank: Team Member
- Registered: Sep 06, 2006
- Last visit: May 09, 2010
- Posts: 2411
- Moderated by:
- Support
Users on-line
This list is based on users active over the last 60 minutes.
