[CSS] The alternative fonts do not work?

Hello

I have a simple TextArea and specify the following font family in CSS:

area .text {}

-fx-font-family: Monaco, "Courier New", monospace;

}

The problem is that it works on Mac (because there the police of Monaco), but it does not work under Windows.

Monaca is apparently not present on Windows, but I planned it, that the relief to the substitute font, which is 'Courier New'.

But it is not, nor use minivan (which also exists).

If I use this instead, it works:

area .text {}

-fx-font-family: "Courier New";

}

or

area .text {}

-fx-font-family: monospace;

}

With the help of Java 8u20.

Is this a bug?

It is a limitation documented JavaFX CSS. See JavaFX CSS reference Guide

Tags: Java

Similar Questions

  • Change the size of the text only does not work

    Font size standard on most of the Windows I have open in Windows 8 is a 5 or 6. I'm in front of my computer, 6 to 8 hours per day (teacher online), and it's the single most annoying problem that I have ever met.  "Change the size of the text only ' on my display settings page is grey - there is no solution.  Can I change the size of everything, that gives me giant icons, but the text on all the windows is still tiny.

    I hope someone has a useful suggestion. Please don't tell me to go to "Change the size of text only." This is the function that does not work.
    My Windows 8 was purchased in January - part of the Microsoft $! 5 offer to people who bought computers between October and December of last year. The installation went fairly well, but I had this problem of fonts since then.  ASUS computer laptop, Intel core I7, good resolution, good speed, ideal machine, except that Windows has me squint all that day, seven days a week.
    Thank you and best regards, all
    Reggie Audibert

    Font size standard on most of the Windows I have open in Windows 8 is a 5 or 6. I'm in front of my computer, 6 to 8 hours per day (teacher online), and it's the single most annoying problem that I have ever met.  "Change the size of the text only ' on my display settings page is grey - there is no solution.  Can I change the size of everything, that gives me giant icons, but the text on all the windows is still tiny.

    I hope someone has a useful suggestion. Please don't tell me to go to "Change the size of text only." This is the function that does not work.
    My Windows 8 was purchased in January - part of the Microsoft $! 5 offer to people who bought computers between October and December of last year. The installation went fairly well, but I had this problem of fonts since then.  ASUS computer laptop, Intel core I7, good resolution, good speed, ideal machine, except that Windows has me squint all that day, seven days a week.
    Thank you and best regards, all
    Reggie Audibert

    Hi Reggie

    The option "Change only the size of the text" applies only to the text for the following items.

    Title bars

    Menus

    Message boxes

    Titles of palette

    Text of the icon

    ToolTips

    What you need to do is select the link "Custom resizing options" directly above the option "Change only the text size.

    In the dialog box move the cursor in the rule box, hold down the left button of the mouse and drag the rule. If the size is 100%, try to start with it to 125%.

    Click OK, and then apply. You will be asked to disconnect / connect to before the change takes effect.

    If 125% does not for you try to bump the size up one another 10% gradually until you are satisfied.

    Let us know if it works for you.

    Concerning

  • just upgraded cs6 to css, now matrox mxo2 does not work?

    I just upgraded cs6 to css, now matrox mxo2 does not work? He still works at the cs6.

    You must uninstall the current driver from Matrox and download and install the latest 7.5 driver that supports CC, as well as CS6, on the PC.

    http://www.Matrox.com/video/en/support/downloads/

    Thank you

    Jeff Pulera

    Safe Harbor computers

  • As I installed the latest OS 10.0.1 on my iPhone, the Pandora app does not work.

    As I installed the latest OS 10.0.1 on my iPhone, the Pandora app does not work.

    Have you installed the latest update of Pandora (version 7.6), posted on September 13, 2016?

  • How to copy and paste into the search engine does not work?

    How to copy and paste into the search engine does not work?

    It should be.

    Restart your Mac and try again.

    Other than that, make sure that OS X is updated.

    Open the App Store, and then select the updates menu.

  • When in my wordpress dashboard, the Visual Editor does not work?

    Regularly when I'm in my wordpress dashboard, the Visual Editor does not work. Sometimes, not all the time. I tried the following:
    Disabled individual plug-ins
    Theme modified
    cache cleared
    uninstalled, then reinstalled Firefox
    'disable the Visual Editor' unchecked

    Thanks a lot for any help

    When this happens, you are totally unable to type/edit in the edit box, or are there limited functionality? The toolbar appear?

  • my browser cannot open google and facebook and other https sites that it does not open even the app store does not work, I tried to change my DNS google DNS and disable IPv6 but still no use, help PLZ!

    my browser cannot open google and facebook and other https sites that it does not open even the app store does not work, I tried to change my DNS google DNS and disable IPv6 but still no use, help PLZ!

    You may have installed one or more variants of the malware "VSearch' ad-injection. Please back up all data, and then take the steps below to disable it.

    Do not use any type of product, "anti-virus" or "anti-malware" on a Mac. It is never necessary for her, and relying on it for protection makes you more vulnerable to attacks, not less.

    Malware is constantly evolving to work around defenses against it. This procedure works now, I know. It will not work in the future. Anyone finding this comment a couple of days or more after it was published should look for a more recent discussion, or start a new one.

    Step 1

    VSearch malware tries to hide by varying names of the files it installs. It regenerates itself also if you try to remove it when it is run. To remove it, you must first start in safe mode temporarily disable the malware.

    Note: If FileVault is enabled in OS X 10.9 or an earlier version, or if a firmware password is defined, or if the boot volume is a software RAID, you can not do this. Ask for other instructions.

    Step 2

    When running in safe mode, load the web page and then triple - click on the line below to select. Copy the text to the Clipboard by pressing Control-C key combination:

    /Library/LaunchDaemons

    In the Finder, select

    Go ▹ go to the folder...

    from the menu bar and paste it into the box that opens by pressing command + V. You won't see what you pasted a newline being included. Press return.

    A folder named "LaunchDaemons" can open. If this is the case, press the combination of keys command-2 to select the display of the list, if it is not already selected.

    There should be a column in the update Finder window. Click this title two times to sort the content by date with the most recent at the top. Please don't skip this step. Files that belong to an instance of VSearch will have the same date of change for a few minutes, then they will be grouped together when you sort the folder this way, which makes them easy to identify.

    Step 3

    In the LaunchDaemons folder, there may be one or more files with the name of this form:

    com Apple.something.plist

    When something is a random string, without the letters, different in each case.

    Note that the name consists of four words separated by dots. Typical examples are:

    com Apple.builins.plist

    com Apple.cereng.plist

    com Apple.nysgar.plist

    There may be one or more items with a name of the form:

    com.something.plist

    Yet once something is a random string, without meaning - not necessarily the same as that which appears in one of the other file names.

    These names consist of three words separated by dots. Typical examples are:

    com.semifasciaUpd.plist

    com.ubuiling.plist

    Sometimes there are items (usually not more than one) with the name of this form:

    com.something .net - preferences.plist

    This name consists of four words (the third hyphen) separated by periods. Typical example:

    com.jangly .net - preferences.plist

    Drag all items in the basket. You may be prompted for administrator login password.

    Restart the computer and empty the trash.

    Examples of legitimate files located in the same folder:

    com.apple.FinalCutServer.fcsvr_ldsd.plist

    com Apple.Installer.osmessagetracing.plist

    com Apple.Qmaster.qmasterd.plist

    com Apple.aelwriter.plist

    com Apple.SERVERD.plist

    com Tether.plist

    The first three are clearly not VSearch files because the names do not match the above models. The last three are not easy to distinguish by the name alone, but the modification date will be earlier than the date at which VSearch has been installed, perhaps several years. None of these files will be present in most installations of Mac OS X.

    Do not delete the folder 'LaunchDaemons' or anything else inside, unless you know you have another type of unwanted software and more VSearch. The file is a normal part of Mac OS X. The "demon" refers to a program that starts automatically. This is not inherently bad, but the mechanism is sometimes exploited by hackers for malicious software.

    If you are not sure whether a file is part of the malware, order the contents of the folder by date modified I wrote in step 2, no name. Malicious files will be grouped together. There could be more than one such group, if you attacked more than once. A file dated far in the past is not part of the malware. A folder in date dated Middle an obviously malicious cluster is almost certainly too malicious.

    If the files come back after you remove the, they are replaced by others with similar names, then either you didn't start in safe mode or you do not have all the. Return to step 1 and try again.

    Step 4

    Reset the home page in each of your browsers, if it has been modified. In Safari, first load the desired home page, then select

    ▹ Safari preferences... ▹ General

    and click on

    Set on the current Page

    If you use Firefox or Chrome web browser, remove the extensions or add-ons that you don't know that you need. When in doubt, remove all of them.

    The malware is now permanently inactivated, as long as you reinstall it never. A few small files will be left behind, but they have no effect, and trying to find all them is more trouble that it's worth.

    Step 5

    The malware lets the web proxy discovery in the network settings. If you know that the setting was already enabled for a reason, skip this step. Otherwise, you should undo the change.

    Open the network pane in system preferences. If there is a padlock icon in the lower left corner of the window, click it and authenticate to unlock the settings. Click the Advanced button, and then select Proxies in the sheet that drops down. Uncheck that Auto Discovery Proxy if it is checked. Click OK, and then apply.

    Step 6

    This step is optional. Open the users and groups in the system preferences and click on the lock icon to unlock the settings. In the list of users, there may be some with random names that have been added by the malware. You can remove these users. If you are not sure whether a user is legitimate, do not delete it.

  • I have the latest version of FF and the latest version of Roboform... everything has worked perfectly until an hour ago... now the Robofrom toolbar will not work... its

    I have the latest version of FF and the latest version of Roboform... everything has worked perfectly until an hour ago... now the Robofrom toolbar will not work... says not compatible... it is activated in Add ons... nothing has been put to day or changedf suddenly just no toolbar and it will not tie

    RoboForm will probably have an update for Firefox 30 when Firefox 30 is actually out, if not sooner. No need to turn off the automatic updates now.

  • can't connect to my home internet income james ashley forgot it the link password does not work and the password I was given does not fit into the password box

    can't connect to my home internet income james ashley forgot it the link password does not work and the password I was given does not fit into the password box

    Are you sure that you do not have to register on this site through the usual way and what you should be used elsewhere on the site?

    Have you tried to contact them to help this topic or to check if they have a FAQ on this subject?

    I found this in another thread that you created [*]:

    I'm not sure do I bought a home income internet james ashley program and I copied the login info I was given and the password does not fit into the window of password and I forgot the link password does not work I sent emails, but do not receive an answer im don't know what to do is anyway you can help me to recover my info or help me change the password?

    I assume that you have downloaded and installed this program and need to use this password in this program or only you can use these data to download the program from the site james ashley?

  • The CD/DVD does not work with El Capitan 10.11.5 on Macbook Pro

    Hello everyone, I spent the time to research on the here and the other site on why the CD/DVD does not work with El Capitan 10.11.5 on MacBook Pro mid 2009. This discussion forum has said that he will not work with the El Capitan software. Any idea or suggestion? Back to Marverick or Yosemite? I tried to use SMC reset, restart, recovery and still the same issue.

    I thank in advance.

    ~ Mike

    I have my doubts that the (10.11.5) software is the problem.  Are you sure that the DVD player is simply not defective?  Have you tried to clean the lens?  What is the State of the disc?

    Your best option may be a date at a bar in engineering of the Apple store for a FREE evaluation.

    Ciao.

  • The new tab (+) does not work, or the file/new tab feature

    The new tab (+) does not work. The function of the file/new tab does no more work. Both had worked correctly until noon today. I haven't added any software, plug-ins or extensions today, I do not have the Ask toolbar. I tried several of the suggestions made on this site, nothing helps.

    This problem may be caused by an extension that does not work in the current version of Firefox.

    Start Firefox in Safe Mode to check if one of the extensions (Firefox/tools > Modules > Extensions) or if hardware acceleration is the cause of the problem (switch to the DEFAULT theme: Firefox/tools > Modules > appearance).

    • Do not click on the reset button on the start safe mode window or make changes.
  • Firefox automatically updated itself, would not add new bookmarks, then deleted all mine, will not always add new, now the back button does not work. I'm Livid.

    I think I'm on Firefox 13.0. He put itself as part of the update of my computer up to date (at least I guess that's what happened, because it has changed). I noticed yesterday that he would not favorite Web sites, but I thought it was just the website or bookmarks have been full-time or something. Today, I tried to remove a few bookmarks to make more, but they would not remove. I tried to register a new site, and it wouldn't work. I tried to close/exit firefox and re-opening of the program. While the program was closed, I installed the next set of updates on my computer. When I have opened firefox, all my favorites, and the tab menu (or what you call personal small bar on the actual tabs) were gone. I can't always favorite of new sites, so I can't even re-do all my favorites (and I got a lot, all of them arranged so it's a big loss and incredibly annoying). Then I realized that the back button does not work. And the cursor remains on the typing that I symbol, it does not change the arrow, when I click on a link.

    One possible cause is a problem with the places.sqlite file that stores the bookmarks and history.

    You can also try to repair the database of places with this extension:

  • I updated Firefox on my Mac (10.6.8), and now the story is not known (that option is checked) and the back button will not work. Help?

    I updated Firefox on my Mac (10.6.8), and now the story is not known (that option is checked) and the back button will not work. Help?

    One possible cause is a problem with the places.sqlite file that stores the bookmarks and history.

    You can also try to repair the database of places with this extension:

  • The Enter key does not work in the address bar; I have to manually select the icon ' go to ' since the upgrade to Version 10.

    I just upgraded to Firefox 10. When I manually enter a URL in the address bar, press 'Go To' does not focus, then the Enter key will not work. I have to manually select the arrow "go to" to navigate. Any suggestions?

    This could be the extension of AVG safe search. If you have installed, try disabling it. Instructions here: use the extensions to add functionality to Firefox

  • page up and down and the arrow keys do not work, they do on any other programs

    Page up and down and the arrow keys do not work or jump at the bottom of page.

    You may have accidentally entered mode 'Keyboard Navigation. The F7 key will toggle "Keyboard Navigation" on or off.

    If this answer solved your problem, please click 'Solved It' next to this response when connected to the forum.

Maybe you are looking for

  • Porque não recebo convites no Messenger

    ISTO e I can not add amigos no Messenger

  • Music CD will not play automatically

    After I start my computer, it goes through all the startup programs, etc, if I put a music CD in the CD player, it won't play.  I checked the auto run settings and it is configured to automatically read the CD using Media Player. Any ideas?

  • How to save photos in a folder without display in the photo gallery of BB10

    I want to develop an application for taking photos, but I want these used in the application and you can not see in the Gallery of photos, is - it possible?

  • Problem Windows 7 Live Mail email

    When I send an email msg is saved in the Outbox folder and says will send next time messages are sent and received.  Never had this problem until a few days ago.  When I send an email msg it is saved in the folder box and said shipping will be sent t

  • How to justify the DB migration

    Hi allWe have lots of databases, legacy to new. We have oracle, sybase, sqlserver, mysql, access, informix, etc.. These databases have been driven by the various partners of 3rd party applications that we bought that has chosen its database. Since I