SitePoint Sponsor |
|
User Tag List
Results 1 to 5 of 5
Thread: Windows and Ubuntu/Xubuntu
-
Oct 9, 2006, 15:19 #1
- Join Date
- Jan 2006
- Location
- Alexandria, VA
- Posts
- 62
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Windows and Ubuntu/Xubuntu
I just saw my web page on Xubuntu linux and Firefox Bon Echo that I've had perfect on Windows and Firefox and IE6,(not IE7 rc?) and when I saw it, my font for my navi bar was not recognized.
So the problem is "unrecognized" windows fonts on a linux os, right?
Are there any sites with comparisons of different OS fonts for Windows/Linux/Apple?
these were my fonts:'Browallia New', Verdana, Arial, Helvetica, sans-serif;
this is my radio blog web page: http://crimesaucer.100webcustomers.com/
thanks,
-c.
-
Oct 9, 2006, 17:43 #2
Linux, because of "red tape" does not ship with many of the fonts you typically find on a Mac or Windows machine.
Unless the user has the font installed, it won't show of course so that is what you are running into.
As you know, CSS allows you to specify a number of fonts so if your first choice is not available on the system it will fallback to a more generic font you specified.
Your first few fonts would not be on a typical Linux box, so that is why it looks different.
First thing to consider is that the number of users with Linux visiting your site will be much less than 1%, so next to no one is affected. The best course of action is a little pragmitism - you can't control everything your user sees and you need to let go a little and be ok with just a serif or sans-serif font when there is nothing else available.
Fonts do install easily on Linux, you just won't be able to this on behalf of your users.
Situations like this help the argument for the use of elastic/liquid layouts that accomodate the different sizing of text.Last edited by brandaggio; Oct 10, 2006 at 05:31.
-
Oct 9, 2006, 22:59 #3
- Join Date
- Nov 2004
- Location
- Ankh-Morpork
- Posts
- 12,158
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Font specifications in CSS are nothing but hints, anyway. As long as you always specify a generic font family (like sans-serif) at the end of the list, you can be reasonably sure that it looks OK (albeit not necessarily perfect).
Birnam wood is come to Dunsinane
-
Oct 9, 2006, 23:37 #4
- Join Date
- May 2006
- Location
- Aurora, Illinois
- Posts
- 15,476
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
For sans-serif fonts, Helvetica is your best bet for Linux machines (as well as Macs). As a fail-safe, be sure to also specify a generic sans-serif fallback option.
Code:font-family: Helvetica, sans-serif;
Code:font-family: Times, serif;
Code:font-family: Tahoma, "Lucida Grande", Lucida, Verdana, Arial, Helvetica, sans-serif;
Code:font-family: Georgia, "Times New Roman", Times, serif;
Save the Internet - Use Opera | May my mother rest in peace: 1943-2009
Dan Schulz - Design Team Advisor | Follow me on Twitter
SitePoint References: HTML CSS JavaScript | Become A Guru
WordPress SEO Checklist | What WordPress Plugins Do You Use?
Web Standards Curriculum | Image Free Equal Height Columns
-
Oct 9, 2006, 23:38 #5
- Join Date
- May 2006
- Location
- Aurora, Illinois
- Posts
- 15,476
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Also, for monospace fonts, Courier is the way to go. Note I said Courier, as opposed to Courier New.
Save the Internet - Use Opera | May my mother rest in peace: 1943-2009
Dan Schulz - Design Team Advisor | Follow me on Twitter
SitePoint References: HTML CSS JavaScript | Become A Guru
WordPress SEO Checklist | What WordPress Plugins Do You Use?
Web Standards Curriculum | Image Free Equal Height Columns
Bookmarks