<p>Because Linux (and its variants) have a completely different set of fonts than Windows and Mac OS X, is there anyone with any experience of creating cross-platform font families - ideally finding equivalents to the common fonts found on the aforementioned operating systems?</p>

<p>If so, what is the best route to take?</p>

[{'answer_id': 38343, 'author': 'Jason Navarrete', 'author_id': 3920, 'author_profile': 'https://Stackoverflow.com/users/3920', 'pm_score': 0, 'selected': False, 'text': '<p>TrueType Fonts (TTF) will generally work on Windows, Mac, and Linux platforms.</p>\n\n<p><a href="http://en.wikipedia.org/wiki/TrueType" rel="nofollow noreferrer">http://en.wikipedia.org/wiki/TrueType</a></p>\n'}, {'answer_id': 38350, 'author': 'different', 'author_id': 3654, 'author_profile': 'https://Stackoverflow.com/users/3654', 'pm_score': 1, 'selected': False, 'text': "<blockquote>\n  <p>TrueType Fonts (TTF) will generally work on Windows, Mac, and Linux platforms.</p>\n</blockquote>\n\n<p>Thanks Jason, but this isn't the answer I'm looking for. Many Linux distributions come with their own fonts that are different <em>in name</em> to the Mac/Windows versions - presumably because of font licensing issues.</p>\n\n<p>I'd like a response from a Linux user (preferably developer) who has experience with coming up with similar looking fonts. I really don't want to have to give Ubuntu Firefox users 'any sans-serif'.</p>\n"}, {'answer_id': 38366, 'author': 'asjo', 'author_id': 2905, 'author_profile': 'https://Stackoverflow.com/users/2905', 'pm_score': 2, 'selected': False, 'text': '<p>Just to clarify: You are looking for names of fonts that will make your website-design look similar to Windows and Mac OS X when viewed under Linux, you are not looking to design new fonts, correct?</p>\n\n<p>(I read your question in the same way that Jason Navarrete did, so at least two people misunderstood your question.)</p>\n\n<p>The font names you are looking for might be something like <a href="https://www.redhat.com/promo/fonts/" rel="nofollow noreferrer">the Liberation fonts that RedHat has released</a>?</p>\n\n<p>Incidently, \'sans-serif\' doesn\'t give the user "any sans-serif", it gives the user his/her <em>preferred</em> sans-serif - which may arguably be better than one you pick.</p>\n'}, {'answer_id': 38392, 'author': 'Paul de Vrieze', 'author_id': 4100, 'author_profile': 'https://Stackoverflow.com/users/4100', 'pm_score': 2, 'selected': False, 'text': '<p>Well, this is a hard question.</p>\n\n<p>There are generally 3 fonts that are in some form or other always supported. These fonts are Adobe Times, Adobe Helvetica, and Adobe Courier. The problem is that while every system and foundry have a clone of these, they have different names. They are also not entirely the same, but have the same metrics. The windows trio: Arial, Times New Roman, and Courier New are the monotype clones of them. On linux these have been provided as bitmap fonts by adobe, and as outlines in form of the URW Nimbus {Sans, Roman, Mono} clones. The outlines however are not pretty on screen (they are on a printer) as they lack hinting.</p>\n\n<p>The solution would be to go for a multichoice for websites. As microsoft has at some point made the <a href="http://corefonts.sourceforge.net/" rel="nofollow noreferrer">"core fonts"</a> available for redistribution, many unix/linux systems do have those fonts available. So go with them. The liberation fonts are straight clones of the MS/monotype fonts, so should go ok as alternatives with a similar experience. Then go for "Helvetica", "Times", and "Courier" before the sans/serif/mono choice that puts you in the user\'s hands.</p>\n'}, {'answer_id': 38426, 'author': 'Orion Edwards', 'author_id': 234, 'author_profile': 'https://Stackoverflow.com/users/234', 'pm_score': 2, 'selected': False, 'text': '<p>Most OS\'es have support for Microsoft\'s <a href="http://en.wikipedia.org/wiki/Core_fonts_for_the_Web" rel="nofollow noreferrer">Core Fonts For the Web</a>. They all come bundled with OSX, and I\'m reasonably sure they\'ll work (or have near-identical variants) on most any linux distro.</p>\n\n<p><a href="http://www.microsoft.com/typography/fonts/default.aspx" rel="nofollow noreferrer">The Microsoft Typography page is also pretty cool</a></p>\n'}, {'answer_id': 39692, 'author': 'Jeremy', 'author_id': 2076253, 'author_profile': 'https://Stackoverflow.com/users/2076253', 'pm_score': 5, 'selected': True, 'text': '<p>Here are some good up-to-date listings of the most-installed fonts for PC, Mac, and Linux:</p>\n\n<p><a href="http://www.codestyle.org/css/font-family/sampler-SansSerif.shtml" rel="nofollow noreferrer">Sans serif font sampler and survey results</a></p>\n\n<p><a href="http://www.codestyle.org/css/font-family/sampler-Serif.shtml" rel="nofollow noreferrer">Serif font sampler and survey results</a></p>\n\n<p>Hope this helps your decision!</p>\n'}, {'answer_id': 40234, 'author': 'huseyint', 'author_id': 39, 'author_profile': 'https://Stackoverflow.com/users/39', 'pm_score': 2, 'selected': False, 'text': '<p><a href="http://www.fonttester.com/help/list_of_web_safe_fonts.html" rel="nofollow noreferrer">List of Web Safe Fonts</a>.</p>\n'}, {'answer_id': 138992, 'author': 'domgblackwell', 'author_id': 16954, 'author_profile': 'https://Stackoverflow.com/users/16954', 'pm_score': 1, 'selected': False, 'text': '<p><a href="http://safalra.com/web-design/typography/web-safe-fonts-myth/" rel="nofollow noreferrer">This article</a> explains the basic approach that has the most chance of working cross-platform. You have to think in terms of stacks which are sets of broadly similar fonts which cover most platforms.</p>\n\n<p>You are always safe saying \'serif\' which will get you Times New Roman or similar or sans-serif which will get you Helvetica/Arial or similar on most platforms. Then as the article suggests you can go further and distinguish between \'wide\' and \'narrow\' groupings.</p>\n\n<p>You can take a more \'progressive enhancement\' approach choosing your ideal font and providing generic substitutes for those platforms which do not have it. However at the end of the day the web is not print and you only get approximate control over font choice. You can do a lot of custom typography using the well-supported CSS properties such as line-spacing. But you will never be able to say \'use this font\' and have it work the identically even across Mac/Windows/Linux let alone mobile devices, kiosks etc...</p>\n'}, {'answer_id': 710180, 'author': 'Community', 'author_id': -1, 'author_profile': 'https://Stackoverflow.com/users/-1', 'pm_score': 2, 'selected': False, 'text': '<p>Sitepoint has an excellent article on font stacks:</p>\n\n<p><a href="http://www.sitepoint.com/article/eight-definitive-font-stacks/" rel="nofollow noreferrer">http://www.sitepoint.com/article/eight-definitive-font-stacks/</a></p>\n'}]
['https://Stackoverflow.com/questions/38336', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/3654/']