Setting sans-serif font in TextFormat?

Is there a way to set a generic sans-serif device font when setting the font property of the TextFormat?
Or does the font property have to be a specific font name?
For example, it would be nice to set the font property similar to how you set the font family within a stylesheet: i.e.
"Arial, Helvetica, sans-serif"
Instead it appears that you can only set an actual name of a font (i.e. "Arial") and if the user's computer does not have that particular font, then the font face is set to Times New Roman.
Please let me know if there is a way to set a generic font family rather than setting a specific single font family.
thanks in advance!

What about using Microsoft Sans Serif? It is included in Mac OS X 10.5.
http://docs.info.apple.com/article.html?artnum=307069

Similar Messages

  • How can I get the TOC to display ALWAYS in a Sans-Serif Font in Linux/Firefox.

    I've created my help project in RH9.  When it displays in Linux/Firefox, the fonts in the topics are fine, but the TOC displays in Times New Roman.  Is there a setting in RH9 that I need to use to keep this from happening?

    Hi,
    Did you change the setting in the skin? What font have you set for the TOC? Perhaps you set a font that is not available on linux so make sure that you use a web safe font.  For more information on web safe fonts, see http://www.w3schools.com/cssref/css_websafe_fonts.asp
    You can also tinker with your output files. In whthost.js, you can amend the CSS that RoboHelp uses for the TOC. you can add a rule for a sans-serif font the browser can fall back on. See http://www.wvanweelden.eu/webhelp_output_files/whthostjs for more information on the whthost.js file.
    Greet,
    Willam

  • "sans-serif" font assignment in CSS not happy in Safari

    http://www.dandreaco.com/safari.jpg
    http://www.dandreaco.com/firefox.jpg
    The Safari is the bad one; the Firefox is the way the page SHOULD look. I have been having this problem now for about 8 weeks, but I cannot pinpoint where it came from as the update to Safari and the installation of the new MS Office 2008 ran consecutively. Regardless, now any style sheet that just has "sans-serif" with NOTHING else as a font assignment shows up this way. It looks like it may just be a character encoding issue, because Safari does not have Western IS0-8859-1. I assumed Western ISO Latin-1 was the same, but I don't think that's true because I have seen many negative posts relating to Western ISO Latin-1 on developer sites all over the net. I chose Roman and it doesn't fix it, btw. Any clues???? This is going to force me to bag Safari till they fix this problem.

    There was a "problem" font. I don't even know how I got it, but it's kind of like a "font virus." Because everything is set up for "Helvetica" this particular font, "Helvetica in a Hamper" uses all the correct font naming, family, etc., coding and in so doing, weasels its way into becoming your only Helvetica font. "M" and "N" are in reverse order, as are lower case "m" and "n" and "a" and "b" with "o" and "p", i.e., opcdefghijklnmabqrstuvwxyz.

  • MS sans serif font in Power Point

    Does anyone know if there is a font for Mac that is same or equivalent to MS sans serif in windows. I compose in Mac but often present in Windows and would like to avoid fixing fonts that don't appear in Windows.

    What about using Microsoft Sans Serif? It is included in Mac OS X 10.5.
    http://docs.info.apple.com/article.html?artnum=307069

  • MS Sans Serif font missing

    I receive a regular club bulletin which is in MS Sans Serif.
    When I open it with Pages I get a warning that MS Sans Serif is missing, and I replace it with Microsoft Sans Serif.
    But, neither before or after replacing it, is the pagination as the author intended. It is not the same as when opened in LibreOffice for example.
    Is there any way I can download MS Sans Serif and have Pages use it?
    Or any other way round this problem for Pages? or do I have to use LibreOffice
    Thanks

    fruhulda wrote:
    It might or might not get the pagination wrong. It depends on which features used when creating the document.
    My strong view is that the Sender has the obligation to make sure everyone who he/she wants to read the bulletin, should use a format or supply with alternatives, to make sure it can be read. The reader shouldn't be the one to adjust to the senders restricted view on which  format or font to use. You have to ask for a pdf version at least. You can open in Preview, PC user have to get Adobe reader but they usually already have it on their computers.
    I can't see it a a defeat on your part. Maybe I can see it on the senders part thoguh.
    You are right of course, in this day and age PDFs and Adobe Reader should be the norm.
    But this is a voluntary organisation where a lot of work is done unpaid by a few people. Neither the sender nor the members are particularly computer literate. I don't feel it is appropriate to tell them about their obligations!
    I call it a defeat because my Macs can't handle such a document without third party software or requesting the sender to do something which all the Windows members don't need. This is the kind of problem which helps put people off Macs.
    However, you said that there is a possibility that Pages would get the pagination right if it had the correct font, so can I ask again if it is possible to download MS Sans Serif? There are other Microsoft fonts in OSX, so why not this one? I have googled for it without success.
    It isn't a big deal to use LibreOffice, but my tidy mind would like Pages to handle it if possible.
    Thanks for helping

  • I'm using Mac OS 10.6.8 with Firefox 7.0.1. In the past hour or so my fonts on nearly all webpages have turn to a bold san serif font and I can't figure out how to change them back to a thinner font. Can anyone help?

    This just happened without reason. Not sure what other information I can provide.

    Hi! It sounds like you might have accidentally changed the default font. You should take a look at the Knowledge Base article [[Changing fonts and colors#os=mac&browser=fx7]]. It should give you all the steps you need to change it back. Another possible scenario is that you accidentally increased the font size. This might give the appearance that all the text is in bold. You can find the details in [[How do I use Zoom?]] Since this can be done through a keyboard shortcut, it might be worth a look. I know I've accidentally changed the font size myself a few times.
    Hopefully this helps!

  • My default san serif font is a western font- how do I change back to something readable?

    I just updated to Firefox 6 and now the default font that is displaying on many websites (including what I'm typing right now) is the font "zebrawood". how do i change back to how it was before? this is very irritating.

    You can do a check for corrupted fonts and other font issues:
    * http://www.thexlab.com/faqs/multipleappsquit.html - Font Book 2.0 Help: Checking for damaged fonts
    You can see the defaults in a screenshot in this KB article:
    * https://support.mozilla.com/kb/Some+text+shows+up+bold+after+upgrade

  • Horizontal menu bar shows serif type font in Live View and Preview but sans serif is in css file

    Help I am using the Spry horizontal menu bar and while it is working fine, it is showing a serif font in Live View and in all Browsers even though I have selected a sans serif font. What gives? I have attached the SpryMenuBarHorizontal.css

    Add this to your embedded styles:
    body {
        background-color: #999;
    font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
    using, of course, the font list you want.
    All those styles that rely on the 'default' font will now default to the Trebuchet font list (or to your chosen list).
    Beth

  • Font mapping: 'Sans Serif' and 'Serif'

    Hi,
    I've got a trouble with my 'Sans' and 'Sans Serif' fonts (aliases?): they are mapped to one and the same undesirable Serif font. I've done some research, but still haven't got past vague suspicions.
    Something in /etc/fonts/conf.d, no? BTW, this directory is empty, in my case.
    I did this, experimentally:
    $ sudo ln -s /etc/fonts/conf.avail/49-sansserif.conf 49-sansserif.conf
    $ fc-cache -fv
    Nothing changed. What's the correct approach to the problem?
    Last edited by Llama (2011-07-21 15:37:12)

    brebs wrote:What app are you using, that wants a "Sans Serif" alias? I think it should be "Sans" and "Serif"
    KDE calls it "Sans Serif", Xfce just "Sans".
    Thank you very much, brebs! At least, I can document the problem now:
    $ fc-match "Sans"                                                                                                                     
    Ubuntu-M.ttf: "Ubuntu" "Medium"                                                                                                                           
    $ fc-match "Serif"                                                                                                                   
    Ubuntu-M.ttf: "Ubuntu" "Medium"
    Last edited by Llama (2011-07-21 15:46:47)

  • Minion vs Lucida grande: a unicode (sans) serif problem

    Have a book composed in Minion but some references demand Unicode letters (0289) for example.
    Fortunately Lucida Grande has the solution but it is sans serif und very invasive.
    Could not find it in Adobe Folio a serif font for a best solution neither information in a web search...

    You can use the Glyphs panel -- awkwardly, admittedly -- to check if the currently applied font has the glyph you're after. The Glyphs are in Unicode order (which are in hexadecimal, which adds to the fun), and if you hover the mouse over them, a little info window will tell you the unicode of the character under the pointer. If you start by selecting the 0289 Glyph in Lucida Grande, you can go back to the document, change the font of the selected text, go back to the Glyphs panel and see if there's an equivalent Glyph in each of the other fonts you've got, one by one. If there is one, it should appear selected in the Glyph panel.
    A quick check shows that there are several sans-serif fonts that have the glyph you want (including Lucida Grande, as you know, and Arial Unicode), but none of the really nice Adobe text fonts that come with Indesign (Garamond Premiere Pro, Minion Pro, Warnock Pro, Chaparral Pro). But Times New Roman does (at least, the version I've got on my Mac).
    And while Times New Roman is not a great match for Minion, it's better than Lucida Grande. At least it has serifs. If you can find a better one, do so.
    Here's an easy way to fix the missing characters while keeping Minion as your main font. First, set up a character style that specifies the font Times New Roman. Then create a GREP Style in your text paragraph style that applies your new character style to any occurrence of \x{0289}. Each 0289 character will change to Times New Roman throughout the document. Set up a similar GREP style for each other unicode character you have, changing it to a font in which that character exists.

  • Adobe Reader substitutes Helvetica with a serif font under Ubuntu Linux 8.04

    Hello,
    after an upgrade to Ubuntu Linux 8.04, the following problem occurs:
    Short description:
    Adobe Reader substitutes Helvetica with a serif font (Adobe Serif MM).
    Long description:
    A font that is not embedded in the PDF should be replaced by a similar one that is available on the system. In particular, sans serif fonts should always be substituted by other sans serif fonts. However, Adobe Reader substitutes Helvetica (which is sans serif) with a serif font (Adobe Serif MM).
    Prerequisites:
    Operating System: Ubuntu Linux 8.04
    Adobe Reader Version: 8.1.2
    PDF-Document: uses Helvetica, but font is not embedded
    Has anyone an idea how to solve this problem?
    Regards
    Alexander

    Hi Alexander,
    It used to work in 7.10 because by default, we used to cache all font-config fonts on every launch of the reader. But, in 8.1.2, in order to improve the launch timings on systems which have large number of fonts, we have made caching of font-config fonts optional through the use of the flag that you mentioned in your note (ACRO_ENABLE_FONT_CONFIG).
    Thanks,
    Shilpi

  • I need to substitute the default font (times roman) in my editable form fields with a san serif...

    I am making a PDF with editable form fields out of InDesign CS6. When I make the interactive PDF, the font, Helvetica Neue  is being substituted with the default font, Times Roman. The client has provided me with last years PDF which has a nice San Serif for the editable fields. I need to change the font either to Helvetica Neue, or at least to a nice San Serif common system font. I have Acrobat X.
    Thanks in advance!!

    I called a friend of mine who walked me through this so I will post the instructions for anyone else who may be having this problem...
    1. Open the PDF with the form fields in a recent version of Acrobat.
    2. Click on the Toolls tab.
    3. Under Forms, click Edit.
    4. Now you will see your fields listed under "Field" > "Sort by"...  "Text Field 1"...  etc.
    5. Holding "control" click where it says "Text Field 1" and some options will pop up.
    6. Click on "Properties".
    7. A "Text Fields Properties" window will pop up.
    8. Click on the "Appearance" tab.
    9. Here you can change your fonts and font sizes.
    Good luck!

  • Sans, serif, monospace and newspaper fonts are overridden by ZawgyiOne

    I installed ZawgyiOne2008.ttf font in the ~/.fonts dir.
    ZawgyiOne2008.ttf is Myanmar (Burma) character font.
    It override Sans, Serif, Monospace and Newspaper fonts in my Arch+ratpoison.
    If I remove that ZawgyiOne2008.ttf and run fc-cache -vf , then fonts back to normal.
    How can I get it back to normal with ZawgyiOne2008.ttf installed.
    I read Font Configuration page in Arch Wiki and follow some instructions.
    But end up in same problem.

    sounds to me like the problem is inside the font itself.
    grab fontforge and edit the font's properties.

  • Value Error : font-family 14px is not a font-family value : italic 14px Arial,Helvetica,sans-serif

    Hello,
    This is supposedly the last error in my CSS according to CSS validation service at Jigsaw.w3.org. But I have not been able to figure out how to fix this. I just some times make text updates to my site, there is someone that actually runs our site but I do not have the $$$ to pay her to do everything.
    Value Error : font-family 14px is not a font-family value : italic 14px Arial,Helvetica,sans-serif
    That is the error, I just don't know how to fix it.
    Thanks
    My Computer:
    OS: Windows 7 Home Premium 64 Bit
    Processor: AMD Phenom II Quad Core Processer
    Graphics Card: AMD Radeon HD 6450
    RAM: 8.00 GB

    If you are talking about www.lodgeonlakeclear.com you still have html errors that could be creating DW display issues.
    On a "bad form, not technically an error note" the use of dozens of keyword metatags for individual keywords is completely unnecessary. All of the keywords should be in one tag separated by comas for the couple of search engines out there that still use them. NOTE: None of the major browsers (Google, Bing, Yahoo, etc) use the keywords meta any longer, it is completely ignored by them.
    Looking through your code without the validator, I see a few other issues. Anywhere in your text where you use the & symbol, you need to switch it to & in the source code. Those, coupled with the following error can cause issues.
    Line 237 you use a - (minus sign) instead of a = (equals sign) for id="current"
    Run the validator again: http://validator.w3.org/
    Once all 18 errors and 11 warnings are gone from your HTML, post back if it is still not showing up in DW.

  • Strange characters on websites after setting preferred in fonts.conf

    After setting preferred fonts in fonts.conf, websites are displaying all sorts of misplaced characters like arabic glyphs, a Tux icon, english glyphs that are out-of-place, like such:
    http://imageshack.com/a/img661/548/tIVwdh.png
    I'm just using one prefered font for serif and one for sans. But I don't understand why arabic and english glyphs would be appearing. Do I need to add a symbol font to my preferred fonts? Or what? Thx.
    -- mod edit: read the Forum Etiquette and only post thumbnails http://wiki.archlinux.org/index.php/For … s_and_Code [jwr] --

    You're editing /etc/fonts/fonts.conf?, because that's supposed to break the configuration. The wiki-recommended way is to create a file in /etc/fonts/conf.d such as 60-preferences.conf, and put the preferences there. Mine which works on my box contains
    <?xml version="1.0"?>
    <!DOCTYPE fontconfig SYSTEM "fonts.dtd">
    <fontconfig>
    <alias>
    <family>sans-serif</family>
    <prefer>
    <family>Ubuntu</family>
    </prefer>
    </alias>
    <alias>
    <family>serif</family>
    <prefer>
    <family>Ubuntu</family>
    </prefer>
    </alias>
    <alias>
    <family>monospace</family>
    <prefer>
    <family>Ubuntu Mono</family>
    </prefer>
    </alias>
    </fontconfig>
    Additionally, if you edited /etc/fonts/fonts.conf, delete or move it somewhere else, and reinstall the default fonts.conf by running
    pacman -S fontconfig
    Last edited by mojangsta (2015-04-18 15:55:31)

Maybe you are looking for