Another text/font question

User 271657 Photo


Ambassador
3,816 posts

I'd like to know if it's possible to insert into the VSD code (maybe through the html tool) a request to substitute a font if the one used is not available on a viewer's computer.
For example - I've used Times New Roman on my site (thought it was a "standard web font"), looks OK except on my Linux/Ubuntu net book, which substitutes a much larger, sans-serif font, which screws everything up. Linux comes with some fonts that are close equivalents to Windows/Mac fonts, and I'd like to specify a font to be substituted if Times N R isn't available.

So, is it possible to get this into the VSD code somehow? I don't want to turn all this text into images - not sure about using the flash font software, haven't ever tried it. I would prefer to just add a Linux font name after Times N R in the css/styles.

I hope this is making sense! :P
Any ideas or advise?

Callie
I love deadlines. I like the whooshing sound they make as they fly by. (Douglas Adams)
https://www.callendales.com
User 2144239 Photo


Registered User
0 posts

paintbrush wrote:
I'd like to know if it's possible to insert into the VSD code (maybe through the html tool) a request to substitute a font if the one used is not available on a viewer's computer.
For example - I've used Times New Roman on my site (thought it was a "standard web font"), looks OK except on my Linux/Ubuntu net book, which substitutes a much larger, sans-serif font, which screws everything up. Linux comes with some fonts that are close equivalents to Windows/Mac fonts, and I'd like to specify a font to be substituted if Times N R isn't available.

So, is it possible to get this into the VSD code somehow? I don't want to turn all this text into images - not sure about using the flash font software, haven't ever tried it. I would prefer to just add a Linux font name after Times N R in the css/styles.

I hope this is making sense! :P
Any ideas or advise?

Callie


Hello Callie,

There's nothing you can do in VSD besides turning the to images. Which you said you don't want, so the next thing I can think of would be to use browser compatible fonts.

The following site has a great tutorial on choosing the right font. They also give coding for applying a different font using a font family code.

Take a look: http://www.webdevelopersnotes.com/desig … fonts.php3

:)
User 271657 Photo


Ambassador
3,816 posts

Thanks, Monica

I've used standard fonts (arial and times new roman). The problem is, they're not standard fonts on a Linux OS. So Linux makes it's own font substitutions.

I was hoping I could change this line by adding an appropriate Linux font after times new roman:

.textstyle4 {font-family:Times New Roman;Linux Font Here font-weight:bold;font-style:italic;font-size:14pt;text-decoration:none;color:#808040;}

Or should I just hope that most Linux users would install Microsoft fonts on their computers? Maybe I'm the only one who hasn't :lol:

Callie
I love deadlines. I like the whooshing sound they make as they fly by. (Douglas Adams)
https://www.callendales.com

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.