Forum Moderators: mack
I have a feeling that if the user's computer that comes to my site does not have the font on their computer then they will not be able to view it. Is that true?
I don't want to use it and then find out that they cannot view it in the way I want them to and then computer reverts back to a default font.
body {font-family: your-crazy-font, verdana, arial;}
This would revert to verdana if the user doesn't have your font, if they don't have verdana it would revert to arial. So you see you can still get some choice in what it reverts back to at least.
Sorry I am not a web designer but what you are saying is that if I want a certain font to be viewed by a user then the user MUST have my font on their computer.
If you could clarify that then that would be great.
I don't want to do grahpics (except for a couple of headings) as I want it search engine optimised. But your suggestions about offering backup fonts sounds worthwhile.
im sure you will know which areas to change to fit in with your design this is HTML coding and must be under the <body> tag
<param name="viewerActivator" value="javax.help.LinkLabel">
<param name="text" value="Click here">
<param name="textFontFamily" value="SansSerif">
<param name="textFontSize" value="medium">
<param name="textFontWeight" value="bold">
<param name="textFontStyle" value="italic">
<param name="textColor" value="blue">
please reply if this works for you, it worked for me with a little altering.
[edited by: massacre90 at 11:19 am (utc) on Aug. 17, 2005]
Font family
Parameter name:
textFontFamily
You can set the font family to:
Serif
SansSerif
Monospaced
Dialog
DialogInput
Symbol
For example,
<param name="textFontFamily" value="SansSerif">
Font size
Parameter name:
textFontSize
You can set the size of the font to:
xx-small
x-small
small
medium
large
x-large
xx-large
bigger (Increases the current base font size by 1)
smaller (Decreases the current base font size by 1)
nnpt (Sets the font size to a specific point value of nn)
+n (Increases the current base font size by a value of n)
-n (Decreases the current base font size by a value of n)
n (Sets the font size to the point size associated with the index n)
For example,
<param name="textFontSize" value="x-large">
Font weight
Parameter name:
textFontWeight
You can set the weight of the font to:
plain
bold
For example,
<param name="textFontWeight" value="plain">
Font style
Parameter name:
textFontStyle
You can set the style of the font to:
plain
italic
For example,
<param name="textFontStyle" value="italic">
Font color
Parameter name:
textColor
You can set the color of the font to:
black
blue
cyan
darkGray
gray
green
lightGray
magenta
orange
pink
red
white
yellow
For example,
<param name="textColor" value="red">