1
hal9000
using a custom ttf in a xoops theme
  • 2004/10/11 15:37

  • hal9000

  • Just popping in

  • Posts: 60

  • Since: 2003/8/6 9


HAs anyone any idea how to do this as i want to add a custom small pixely type of font to a theme as the main theme.

im not to worried about macs as i will just substitute a mac font but i really want to use this font for the main text on the site.
Can this be done in css and how would i do it.?
just include the font in the same folder as the theme?

cheers

[this type of font btw]

2
ackbarr
Re: using a custom ttf in a xoops theme

if you can guarantee that the font already is installed on the client's machine you can use the font-family css rule to set the font. ATM there is no standard for embedding fonts in a web page. IE (WIN) and NN 4 both have mechanisms for doing so, but Mozilla does not, and I believe Opera does not either.

Embedded Fonts FAQ (old FAQ)

If you have rights to re-distribute the font, you can always place a block on your site, urging users to download the font in order to see the site properly.

* Update - it looks like that font is freeware - so you should be able to provide a download link to your users.

3
hal9000
Re: using a custom ttf in a xoops theme
  • 2004/10/11 15:56

  • hal9000

  • Just popping in

  • Posts: 60

  • Since: 2003/8/6 9


i had seen something before where you convert a ttf into something else but it all looked long winded
i just wondered if somebody else has had any suscess.
cheers

4
ackbarr
Re: using a custom ttf in a xoops theme

I believe you are referring to the Microsoft Web Embedding Fonts Tool:
http://www.microsoft.com/typography/web/embedding/weft/default.htm

This tool is discussed in the Embedded Fonts FAQ I listed in my first reply.

5
hal9000
Re:using a custom ttf in a xoops theme
  • 2004/10/11 16:12

  • hal9000

  • Just popping in

  • Posts: 60

  • Since: 2003/8/6 9


that'll be the one then :)
doh!
i'll check it when i get home from work... tah muchly
h9k

Login

Who's Online

288 user(s) are online (198 user(s) are browsing Support Forums)


Members: 1


Guests: 287


Runeher2,

more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits