Linux - Windows common fonts.

This is a discussion on Linux - Windows common fonts. within the A Brief History of Cprogramming.com forums, part of the Community Boards category; I know Arial and Verdana are quite different, but I like both of them and so I put both of ...

  1. #16
    Frequently Quite Prolix dwks's Avatar
    Join Date
    Apr 2005
    Location
    Canada
    Posts
    8,048
    I know Arial and Verdana are quite different, but I like both of them and so I put both of them in. I didn't design my layout strigently enough that one looks better or worse than the other.

    You're probably right that I shouldn't have those other fonts that I've never or rarely seen. I can't remember why I put them in there, though it might have been because my HTML book recommended it. Of course, HTML is different from CSS.

    I think I might be changing it to
    Code:
    font-family: Verdana, sans-serif;
    font-family: 'Courier New', monospace;
    once I next upload my website. (Courier New is nice, because the default monospace font on many Windows web browsers is Courier, which doesn't look very nice at all, not being a truetype font.)

    [edit] Might want to have a look at this page. http://www.webdevelopersnotes.com/de...ble_fonts.php3

    Not only does it use "Arial, Verdana, Sans-serif", it also recommends the following fonts:
    Code:
    The Sans-serif family
    Arial, Verdana, Geneva, Helvetica, sans-serif
    
    The Serif family
    Georgia, Times New Roman, Times, serif
    
    The Monospace family
    Courier New, Courier, monospace
    Don't ask me why, I'm not a font expert . . . I expect that's the kind of thing I read in the first place when I made the initial version of my website.

    Any other thoughts? Perhaps some browsers ignore "sans-serif", so you have to specify a specific name for them? . . . . [/edit]
    Last edited by dwks; 01-18-2008 at 02:00 PM.
    dwk

    Seek and ye shall find. quaere et invenies.

    "Simplicity does not precede complexity, but follows it." -- Alan Perlis
    "Testing can only prove the presence of bugs, not their absence." -- Edsger Dijkstra
    "The only real mistake is the one from which we learn nothing." -- John Powell


    Other boards: DaniWeb, TPS
    Unofficial Wiki FAQ: cpwiki.sf.net

    My website: http://dwks.theprogrammingsite.com/
    Projects: codeform, xuni, atlantis, nort, etc.

  2. #17
    Registered User whiteflags's Avatar
    Join Date
    Apr 2006
    Location
    United States
    Posts
    7,759
    > Perhaps some browsers ignore "sans-serif", so you have to specify a specific name for them?

    I really doubt that is the case. font-family: sans-serif is a complete rule if the browser has complete css1 support.

    I normally don't spend to much time on fonts. In my experience, if the idea is to design or artistically create, only a few fonts are going to work for a specific design. I think the reason some "experts" will tell you to include helvetica and geneva is to promote cross-platform support and design. Which might be a fallacy. I haven't seen a Mac machine without arial in a while.

  3. #18
    Frequently Quite Prolix dwks's Avatar
    Join Date
    Apr 2005
    Location
    Canada
    Posts
    8,048
    Yeah, this Linux box has Verdana and Arial too.

    Besides: we're talking about CSS here. That web page was talking about HTML. I can see old web browsers not supporting "sans-serif".

    I think you're right that when using CSS, you can just use "sans-serif" to grab a sans-serif font on different platforms.
    dwk

    Seek and ye shall find. quaere et invenies.

    "Simplicity does not precede complexity, but follows it." -- Alan Perlis
    "Testing can only prove the presence of bugs, not their absence." -- Edsger Dijkstra
    "The only real mistake is the one from which we learn nothing." -- John Powell


    Other boards: DaniWeb, TPS
    Unofficial Wiki FAQ: cpwiki.sf.net

    My website: http://dwks.theprogrammingsite.com/
    Projects: codeform, xuni, atlantis, nort, etc.

  4. #19
    Cat without Hat CornedBee's Avatar
    Join Date
    Apr 2003
    Posts
    8,893
    I mostly take my guidance on fonts from Jon Hicks.
    http://www.hicksdesign.co.uk/tag/typography/
    All the buzzt!
    CornedBee

    "There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
    - Flon's Law

Page 2 of 2 FirstFirst 12
Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Script errors - bool unrecognized and struct issues
    By ulillillia in forum Windows Programming
    Replies: 10
    Last Post: 12-18-2006, 04:44 AM
  2. linux and windows lookup host processes
    By Lynux-Penguin in forum Tech Board
    Replies: 0
    Last Post: 09-01-2003, 12:54 AM
  3. FlashWindowEx not declared?
    By Aidman in forum Windows Programming
    Replies: 3
    Last Post: 05-17-2003, 03:58 AM
  4. Linux OS to Windows OS code
    By sw9830 in forum C Programming
    Replies: 2
    Last Post: 02-28-2003, 03:11 PM
  5. Linux and Windows Duel Boot
    By The15th in forum A Brief History of Cprogramming.com
    Replies: 7
    Last Post: 04-26-2002, 05:59 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21