Problems opening STIX fonts

I was excited to see the beta of the STIX fonts finally released. It's an important free release for math, science, and engineering. Java 6 u3 is having problems with it. On Vista, Windows opens all the STIX fonts in the character map accessory app, but none of them show up at all in Java's Font2DTest app. If I try to open one programmatically, all I get is a FontFormatException stating "Unsupported sfnt". These are .otf, not .ttf files, but I think Java is supposed to handle them as well.
Any ideas? You can get the fonts at the www.stixfonts.org website.
Thanks.

JDK 6 does not support OTF fonts (see http://java.sun.com/products/java-media/2D/reference/faqs/index.html#Q_What_font_types_does_Java_2D_s).
However, many OTF fonts can be actually processed if used as TrueType (those that have embeded CFF font will not work).
Not sure if it will work with STIX fonts but you may try to create font from stream using Font.createFont as Truetype font. (or simply rename .otf to .ttf)
May be JDK7 will have support for OpenType.
On the related note OpenJDK (http://openjdk.java.net) uses FreeType font rasterization engine (and this library supports OpenType).
OpenType is not mentioned on API and .otf files will not be scanned by default but unlike JDK6 otf with embeded CFF table should work (in theory).

Similar Messages

  • My Publisher plugin Open Type Fonts DON'T PRINT iPhoto 6.0.5 (316)

    I want to post this problem in the hopes it will save some other people the 7 months of frustration I have gone through with My Publisher.
    Apparently, My Publisher is unable to print Open Type fonts. After 7 months of editing and re-editing photos, scanning and re-scanning photos, and placing 13 different orders, someone at My Publisher finally called me to help with the problem. The phone call came after I had emailed Walt Mossberg of the WJS about their total lack of customer service!
    After every order I placed, for the same book, was cancelled, I received the exact same form email, which said I have a corrupt photo file/.jpg and I should fix it. I kept telling them that the Mac and iPhoto don't send them any .jpgs, only a PDF file. No matter what I told them, I got the same email in reply—I have a corrupt .jpg.
    Once they decided to help me (after almost 7 months), we were able to narrow down the problem within a week. They had me produce the same book on a PC, which I was unable to do because they only have about 4 templates and 6 fonts to choose from and are nothing like iPhoto. I made a book and just randomly inserted all the photos, no text. The book printed fine, proving to My Publisher that there was nothing wrong with any of my .jpgs.
    I questioned My Publisher as to why the PC was limited to 6 fonts and were they installed with their BookMaker software and they said "Yes." This led me to believe my problem was with the fonts and they agreed. After talking to them further about fonts, they said they had trouble printing Post Script fonts, but they had printed several books for me that used Post Script fonts. The culprit turned out to be an Open Type font. Once I changed the Open Type font to the True Type version, the book printed perfectly. I don't know if this problem was limited to only this particular font or all Open Type fonts.
    I have asked My Publisher to pursue this problem and post information about it on their website so other people don't have to go through all this frustration.
    Other than this problem, I have been very happy with all the books I have received from My Publisher. The quality has been excellent. The color is a bit off in a few photos some of the time, but for the most part, the color is quite accurately reproduced, at least to my eye. Hot pinkish/purple colors seem to pose a problem.
    Power Mac G4 (Mirrored Drive Doors)   Mac OS X (10.4.8)   2GB RAM; Dual 1.25GHz PowerPC G4
    Power Mac G4 (Mirrored Drive Doors)   Mac OS X (10.4.8)   2GB RAM; Dual 1.25GHz PowerPC G4

    Thanks for the information. I hope to place my first order with them. I am searching for others' experiences to make sure I don't make the same mistakes.
    Thanks again.

  • Xorg Fails to Start: Could Not Open Default Font 'Fixed'

    After an absence from my Arch system, I tried to fire it up today and found that Xorg7 now fails to load, telling me that it "could not open default font 'fixed'". I have done a "find" on my whole partition - there is no font file called "fixed*" at all on the system. Just for fun, since I have an older SuSE 9.3 on another partition on the same machine, I searched it too - no files called "fixed*" at all.
    Does anyone recognize this error, and know what to do about it?
    I haven't touched this partition in probably 6 months (long story). I do have a triple boot on this machine, with the SuSE I mentioned above and also Ubuntu Dapper Drake. I have been running the odd update on those two OS's - I suppose they might have crept onto my Arch partition and messed things up...
    Anyway, any and all thoughts much appreciated. I am pretty much dead in the water with Arch. I am running Arch 0.7.2, on a 3.0 GHz Pentium IV HT with 1 GB of RAM.
    Last edited by mac57 (2007-04-27 23:43:29)

    Hi Guys, thanks for the help. I haven't been able to get back to this for a bit but I finally did tonight. sh___, your tip did the trick. I did the grep and sure enough, fixed WAS on the system, it just clearly was not in the font path. I started backtracking and found that it had been commented out of the font path in xorg.conf. As soon as I uncommented it, X11 was back. Phew!
    HOWEVER, XFCE4 is totally borked. It appears that one of my Ubuntu updates wandered onto my Arch partition and kindly updated parts of XFCE4, leaving the whole completely unworkable. Happily, I also have KDE installed on Arch, and was at least able to get an X environment back from which to work on the XFCE4 problem. I am now updating XFCE4 completely to the current version - that should restore version harmony and hopefully all will be well. We shall see! Thanks again.

  • Problem with Arabic font: In certain contexts, when writing Arabic with vowel signs (fatha, damma, kasra, sukun) a sequence of sukun   fatha/damma etc. would reverse automatically. Is this a known bug?

    Problem with Arabic font: In certain contexts, when writing Arabic with vowel signs (fatha, damma, kasra, sukun) a sequence of sukun + fatha/damma etc. would reverse automatically. Is this a known bug?
    Example: عَيْنٌ
    would automatically convert to عَيُنْ
    Funnily, it doesn't seem to happen here, but it does when entering text in a web interface (using Firefox, font Bayan) and when using Text Edit.
    Seems to be a problem of a specific font, as e.g. Arial MS Unicode works fine. Any hints?
    Thank you!

    Musaafir wrote:
    I've no idea how i can even start using arabic vowels on Microsoft Word for Apple
    You can't do Arabic on MS Word for Mac.  This app has never supported RTL scripts, so you need to use something else.  Mellel is best, but Pages 5, TextEdit, Nisus Writer, Open/LibreOffice should work OK.
    You switch between languages by using the "flag" menu at the top right of the screen or by using the keyboard shortcuts apple/command plus space.  Go to system prefs/keyboard/shortcuts to make sure that is activated.
    To see which key does what, you use Keyboard  Viewer.
    http://support.apple.com/kb/PH13746
    You place vowels on letters by typing the key for the vowel after the key for the letter.  The vowels are on the option/alt keys, option/alt + a gives you َ

  • Reader V8 problem with embedded font

    Hello,
    I'm having problems opening in Reader V8 the PDF file located at http://www.itech.ca/otf-cff.pdf . The file opens correctly in previous versions of acrobat. AR 4 5 6 7. It complains about the embedded font. Can anyone help me identify the reason why the font cannot be extracted ? Is there anything wrong in the PDF file when describing the font, or it's the way I'm generating the embedded font ? Is there any tool I can use to help me debug this ? Any help or hint would be greatly appreciated.
    Thanks in advance.
    rabih

    Rabih,
    Please repost in the Reader forum. This forum is for pdf specification
    issues. Usually, the problems you are having are due to each successive
    version of Acrobat adhering to standards more strictly. A pdf with a
    problemsome font Acrobat or Reader might have tried to render the pdf
    and hope for the best. Now it may reject the pdf.
    Mike

  • I am using Firefox 4.0. Face problem opening .aspx file / application, any solution?

    webpage in form of Pop-up window (.aspx file ) is not getting opened in Firefox 4.0 browser. please suggest solution. The same webpage opened when opened with Google Chrome Browser 10.0.648.151.

    If text on web pages isn't visible then you most likely have a problem with the font that is used on those pages.
    As a test you can try to disable the website fonts and if that still doesn't work then try a few different default fonts.
    *Tools > Options > Content : Fonts & Colors > Advanced > [ ] "Allow pages to choose their own fonts, instead of my selections above"

  • Illustrator CS5 is crashing every time I open the Font Menu

    I'm using one of the new Mac Book pro Retinas.  Every time I open the Type>Font menu the program crashes.  Sometimes I can scroll down a little ways but sometimes it crashes immediately.  Photoshop is loading the previews fine so I believe this is an illustrator problem and not a more general font problem. 
    Thank you for your help.

    Ok, so I am now leaning towards a corrupt font also like Wade Z. suggested. A few things to try if you haven't first though.
    1.) Did you repair permissions using Disk Utility in the Applications > Utilities folder? I'd do that and run it a few times until it runs "clean". Meaning that you don't see it repair anything anymore in the list. (I'm assuming you're on a Mac). If you're on a PC this won't help.
    2.) You could try resetting the PRAM etc., but I don't think that will help this problem. Sometimes you never know though.
    So, if it is a corrupt font, I need to know if you are using a font management program or if you manually place them in font folders? (again assuming you're using a Mac). Post Script Type 1 fonts are known to be more finicky to use in Snow Leopard and Lion. I had some problems with duplicate fonts that were causing havoc on my machine just a few weeks ago. So you may want to try and track down if you have duplicate fonts also. I just used Spotlight to find where any errant fonts were installed. If you install fonts manually I'd temporarily remove them all from the User > Library > fonts folder (or wherever else you may have installed them) and then restart. That way you can test to see if that might be the problem. Then if it is you can add half the fonts back in and do a bubble sort to find which font is corrupt. A bubble sort is a way of taking half of something and testing if it's good or bad. Then if it's a bad half, taking half again to see if it's good or bad. That way you can narrow in on a specific file causing the problem. It can be a little tedious with having to restart, but is one of the best ways of finding a corrupt font. Another method may be to remove all of one type of font and add each set in until  the problem shows up again (if removing them is what fixes it).
    If you use the built in FontBook you can try this: http://www.lifespy.com/2007/mac-tips-find-and-eliminate-corrupt-fonts-in-osx/
    Hopefully you'll get it worked out.

  • New MBP users using XP via Boot Camp - Can you install Open Type Fonts?

    Have any of the new MacBook Pro owners that have been using Windows XP via Boot Camp been able to install Open Type Fonts, i.e. fonts that are sold by Adobe?
    I have now tried this on two new MacBook Pros, and I have tried three different retail versions of Windows XP on each system. It just does not work.
    I keep getting the "Unable to Install Font" message, which suggests that I contact the font vendor, which I have. I have also tried many different versions of different fonts.
    After having troubleshooted with Adobe and Microsoft, and after having reinstalled Windows over 6 times on two different new MacBook Pros, I am starting to believe that this issue affects all new MacBook Pros.
    For some points, could someone please try to install an Open Type Font in Windows XP, and let me know if you are successful?
    Thank you!

    I had the exact same problem and *finally solved it*. I am running Windows XP Professional on a new MacBook Pro via BootCamp as well. Although its totally contradictory to logic, you need to use True Type fonts. I understand, you open your fonts folder and all the standard fonts are Open Type. We had purchased a font family that I had running on my Dell which used the exact same operating system. It was Open Type and it worked fine. I got a new MacBook Pro and was transfering everything over, including all of my fonts. The fonts that we purchased as or had converted to Open Type for me (the only windows guy working on graphics related stuff) were not loading on the new machine (MacBook Pro) even though they worked fine on the old (Dell). When I tried to install them, I kept getting an error that read something like "unable to install font. it may be corrupt, contact font vendor." I spent about a week with the font vendor trying to figure it out. no luck. One day I tried install a folder full of other fonts, mixed versions of True Type and Open Type, and all of the True Type installed and the Open Type did not. I got my hands on a True Type version of the font I was struggling with and now it works fine.
    It makes no sense. Every person who seemingly knows way more about this type of stuff seems to think that this is not possible, and that I'm not smart enough to understand what I did. They will tell you that there is nothing different about running windows on a Mac than on a PC, in fact it should run better on a Mac, blah blah blah (not really true in actual practice as far as my experiences go). But this worked for me and I have no problems with it anymore. Good luck.

  • Boot Camp users using XP via Boot Camp, Can you install Open Type Fonts? 2

    I have written this post as a continuation of the following archived thread, which has never been solved.
    http://discussions.apple.com/thread.jspa?threadID=1778497&start=0&tstart=0
    Have any of the Boot Camp 3.0 users that have been using Windows XP via Boot Camp been able to install Open Type Fonts, i.e. fonts that are sold by Adobe?
    I have now tried this on two new MacBook Pros, and I have tried three different retail versions of Windows XP on each system. It just does not work.
    I keep getting the "Unable to Install Font" message, which suggests that I contact the font vendor, which I have. I have also tried many different versions of different fonts.
    From the many complaints and troubleshooting in my original thread, we know that this is definitely an issue with Boot Camp, which prevents users from installing Open Type Fonts, specifically from Adobe.
    Has anyone else experienced this with Boot Camp 3.0?
    Thanks!

    The fix for this can be found here:
    http://www.thomasphinney.com/2008/12/no-font-instal/
    It's a simple registry edit. It resolved the issue for us on both nVidia and ATI iMacs running XP in Bootcamp.
    Here's the relevant excerpt:
    +Nvidia says the problem occurs on Windows XP only, and Vista users are unaffected, but at least one Vista user has reported they had this problem and the fix resolved it. It affects multiple NVidia cards, and some (unspecified) ATI cards. The fix, posted by David Ingraham in a horribly lengthy thread on the Adobe User Forums, and in a post by “PixelNinja” on the NVidia forums is this:+
    +— start of email from HP —Good news. Nvidia has identified the problem and provided a fix. The way it was explained to me, Windows expects the device driver to be a certain size (maximum). In this case, the nvidia driver is slightly larger than expected. A simply registry entry will resolve the issue in WinXP (the issue doesn’t occur in Vista).To resolve the problem, do the following:+
    +Open the registry editor (regedit)+
    +Navigate to+
    +HKEYLOCALMACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management+
    +Add a new REG_DWORD entry called SessionImageSize with a value (decimal) of 20+
    Reboot
    +The Type 1 fonts should now open/install without any problems.+
    +— End of HP email —+
    Message was edited by: Laurie Duncan

  • Boot Camp users using XP via Boot Camp - Can you install Open Type Fonts?

    Have any of the Boot Camp 2.1 users that have been using Windows XP via Boot Camp been able to install Open Type Fonts, i.e. fonts that are sold by Adobe?
    I have now tried this on two new MacBook Pros, and I have tried three different retail versions of Windows XP on each system. It just does not work.
    I keep getting the "Unable to Install Font" message, which suggests that I contact the font vendor, which I have. I have also tried many different versions of different fonts.
    After having investigated with Adobe and Microsoft, and after having reinstalled Windows over 6 times on two different new MacBook Pros, I am starting to believe that this issue affects all new MacBook Pros and/or Boot Camp 2.1 users.
    For some points, could someone please try to install an Open Type Font in Windows XP, and let me know if you are successful?
    Thank you very much!

    Experiencing the same from a fresh install of Windows XP on Boot Camp 2.1.
    Tried 2 different scenarios. Installed Windows XP, Boot Camp Drivers, Open Type Fonts. Received an not a valid font file when trying to install. Installed Windows XP and then the Open Type Fonts. All fonts registered and accessed by the operating system without the Boot Camp Drivers. Installed the Boot Camp Drivers and checked the fonts, received error messages accessing fonts.
    Pretty sure its the Boot Camp Drivers that are causing the problems with Windows and the fonts. Hopefully there is an updat to address this issue.

  • Flash will not open .otf font

    I just installed Myriad Pro and flash will not open the font.
    When I go to my fonts folder and double click on the file it says
    that its not a valid file and cannot open a .otf. Ive tried to
    rename the file to a .tff but it doesnt work.
    Please help this is really aggrevating.
    Thanks!

    Some fonts simply do not work in Flash. I tried to search the
    forum to show you other posts of users who have had problems with
    Myriad Pro but this seems to be one of those days that the Adobe
    forum decides to be finicky. I thinkg what jedaniel was trying to
    say was to see if you can find a true type equivalent of Myriad to
    see if that will work. The extension would then be "ttf".
    Are you on a Mac or PC? If you have one at your disposal, you
    may try using a font conversion app.

  • Xnewt dies: could not open default font 'fixed'

    Hi,
    trying to get srss4.2 on SXCE b129 running. However, Xnewt has a problem:
    error opening security policy file /usr/X11/lib/X11/xserver/SecurityPolicy
    Could not init font path element /usr/X11/lib/X11/fonts/Type1/sun/, removing from list!
    Fatal server error:
    could not open default font 'fixed'So it can't find the font. The question is: What is the right file to set the fontpath? Right now it looks only into the following files:
    /usr/X11/lib/X11/fonts/TrueType/fonts.dir
    /usr/X11/lib/X11/fonts/TrueType/fonts.alias
    /usr/X11/lib/X11/fonts/Type1/fonts.dir
    /usr/X11/lib/X11/fonts/Type1/fonts.alias
    /usr/X11/lib/X11/fonts/Type1/sun/fonts.dir
    /usr/X11/lib/X11/fonts/Type1/sun/fonts.alias
    /usr/X11/lib/X11/fonts/F3bitmaps/fonts.dir
    /usr/X11/lib/X11/fonts/F3bitmaps/fonts.alias
    /usr/X11/lib/X11/fonts/misc/fonts.dir
    /usr/X11/lib/X11/fonts/misc/fonts.alias
    /usr/X11/lib/X11/fonts/100dpi/fonts.dir
    /usr/X11/lib/X11/fonts/100dpi/fonts.alias
    /usr/X11/lib/X11/fonts/75dpi/fonts.dir
    /usr/X11/lib/X11/fonts/75dpi/fonts.aliasAny help?
    (on b125 with SRSS 4.2 EA2 everything is running fine)

    Maybe some of the [information from Chris Gerhard|http://chrisgerhard.wordpress.com/2010/01/11/more-sun-ray-on-opensolaris-build-130/] about getting Sun Ray Software to work on OpenSolaris build 130 can help you.
    Note that Chris's blog is about OpenSolaris, not SXCE. SXCE 129 may have additional problems. I found the following information from someone working on X in Solaris:
    Though I should probably also warn that if you installed snv_129 from SVR4
    packages, many of the links in /etc/X11/fontpath.d will be broken - these
    are okay in the IPS packages, and are fixed in the snv_130 X packages.
    HOWEVER you probably only want to replace SUNWfont-xxx and SUNWttf-xxx
    packages with the versions from snv_130, as I wouldn't be surprised if
    Xnewt gets further broken by the snv_130 integrations of Xorg 1.7/X11R7.5
    and the move from /usr/X11 to /usr of the programs & libraries.As the SXCE program has ended, you should consider moving to OpenSolaris. The Chris Gerhard blog also has information about getting SRSS to work on recent OpenSolaris builds (b132+).
    Of course you'll always have to expect such breakages with new builds, as OpenSolaris is a rapidly evolving platform.

  • Open type font "Myriad Pro" support in Java AWT

    Hi
    I have installed open type font "Myriad Pro" on my machine.
    When I use the following AWT APIs on jre 1.6, I dont get the open type font "Myriad Pro" in the font list.
    Code snippet
    java.awt.GraphicsEnvironment     ge = GraphicsEnvironment.getLocalGraphicsEnvironment();
    if (ge != null) {
         java.awt.Font[] fontList = ge.getAllFonts();
    The fontList variable doesnt have "Myriad Pro" font.
    My question is
    1) Is the open type font "Myriad Pro" supported by java AWT?
    2) Is there a workaround to get that particular font?
    Thanks
    Vikas

    When I print out the list of all the fonts java recognizes on my machine, all the otf fonts (about 70 of them) are missing including Myriad Pro. All the true type fonts show up. You might need to convert the Myriad Pro into a true type font to get it recognized in java.

  • I am trying to open iTunes on my mac. But a box pops up saying "The folder iTunes is on a locked disk or you do not have write permissions for this folder". Anyone know what that means? I've had my computer 2 years and its never had a problem opening it

    I am trying to open iTunes on my mac. But a box pops up saying "The folder iTunes is on a locked disk or you do not have write permissions for this folder". Anyone know what that means? I've had my computer 2 years and its never had a problem opening it

    I've already right-clicked on the application, clicked "get info", and changed it so all people listed in the "Sharing & Permissions" section have the "read & write" privilage.
    The error message is referring to your iTunes library, not your iTunes application.
    You need to check and fix the permissions of the iTunes folder in your iTunes library. This is by default located in your "Music" folder.
    Select the folder Music > iTunes  in the Finder, right click on it or Ctrl Click and click "Get Info". At the bottom of the contextual window thatwill  pop up, disclose the Sharing and Permissions brick, change your status from Read only to Read & Write. You may need to click the padlock icon to make changes.

  • I'm having a problem opening my files -..

    I'm having a problem opening my files …..for example if i want to download something off the internet and run it after it always opens in Textedit which is annoying…..other programs open fine which are dmg but the exe files won't run….i need help

    If you are in fact running Mac OS 9 or earlier, which is from 2001 or earlier, .dmg files are disk image files like the .smi files used under Mac OS 9, but they are only Mac OS X compatible.   They are frequently used to store Mac OS X only installer disk image files.  .exe files are are Windows and MS-DOS executable files which can only run with Windows or DOS virtualization:
    https://discussions.apple.com/docs/DOC-2741
    Most Mac OS 9 programs you'll be able to download either have a .sea, .sit, or .hqx suffix in their file name and are able to be opened with the old Mac OS 9 copy of Stuffit Expander.
    If you are using another operating system, please go to Apple menu -> About this Mac and tell us what you are running.  You posted to the Mac OS 9 forum, hence my response.    If there is an X in the name, you posted to the wrong forum, and I'll have this post redirected and try to answer if I have time.

Maybe you are looking for

  • How to run .JSP 9iReport from web with Parameter Form

    Hi, I m trying to run a .JSP 9ireport from the web. now i have two problems. 1. how do i display a parameter form from the web, meaning when the user clicks on the link to the report a parameter form should be displayed and the report should give the

  • LCD TV for monitor in Studio?

    Is there any info on what kind of connections my TV needs to have for it to hook up with my G5? 37in LCD TV

  • Sign on lockup

    Hello  I am looking to see who knows how to setting for hp lock on sign in? so it stays unlocked for administrator ? and you dont have to keep signing on????

  • BLOB insertion in Oracle 10g database using ojdbc14 (10g drivers)

    Hello! I have a situation where I am trying to insert a blob data into oracle 10g database using oracle thin 10g drivers, <b>ojdbc14.jar</b> in <b>weblogic 8.1 sp2</b>. I have the following error happening very intermittently. <u><b>java.sql.SQLExcep

  • Confirmation of Vendor and Customer General Data

    Hi, I have a following scenario. we want to allow the person with specific company code to confirm the vendor and customer data of his own company data. User1 with Company Code C1 User2 with Company Code C1 User3 with Company Code C2 User4 with Compa