FontLab Forum
2012-02-08, 20:36:10 *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Welcome to the FontLab forum, read how to use it! Update: Archives from old MSN forums are now available on our forum.
 
   Home   Help Search Calendar Downloads Tags Login Register  
Del.icio.us Digg FURL FaceBook Stumble Upon Reddit SlashDot

Pages: [1]
  Print  
Author Topic: Increasing font size in WEFT  (Read 12048 times)
ArchivePoster
Guest
« on: 2008-10-03, 08:08:00 »

Posted by: splashy
         
I would like to make the embedded font larger than the other fonts that people see when they use browsers other than Internet Explorer. For instance, I embed Edwardian Script, which needs to quite large to be legible, while people using other browsers see a generic cursive font, which only needs to be normal size to be legible.

Is that possible? Can I make the embedded font larger than normal?
Logged
ArchivePoster
Guest
« Reply #1 on: 2008-10-07, 17:18:00 »

Posted by: ImDocHolliday
         
For that, you'll have to include scripting that determines which browser is being used.  Then, for each possible return from that script, you'll have to provide font names and sizes.  Normally, in your HTML code, you would state your preferred font, then a fallback choice, then a default if either of those two are not available on the system.  (ex: Arial, then Helvetica, then some generic Sans Serif font).
 
I'm not saying it can't be done. I'm just asking, how much coding do you want to do?  This isn't something you can change in a CSS file on the fly; those are static.  You can make changes to HTML on the fly, using variables, but that's page by page.  So that's a lot of code per page.  Multiply that by the number of pages in your web site.  And you have to maintain all that code.
 
I know that isn't much of an answer, but I can see no simple, quick solution.

Logged
ArchivePoster
Guest
« Reply #2 on: 2008-10-10, 08:25:00 »

Posted by: splashy
         
I have done more research and it seems that I could just have two separate CSS files, with one for Internet Explorer users, and one for everyone else, and a browser sniffer in the head section that will send the appropriate file to the visitor, like this coding:
< ![if !IE]>




I don't have a problem making changes on an entire website, since I use templates in Dreamweaver and with PHP it's all that's needed is to change the main wrapper template. It's pretty simple, if I know what coding to use in the head.



Thanks for trying to help, though.
Logged
ArchivePoster
Guest
« Reply #3 on: 2008-10-10, 08:26:00 »

Posted by: splashy
         
I should mention, for anyone that tries the code, that they need to take out the spaces after the first < and before the very last >. I put those in just in case coding wouldn't show in my reply.
Logged
Tags:
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!