Re: [flexcoders] Embedding/visualizing special characters issue
Funnily enough it was just the font missing the characters. What was driving me crazy is that Flash IDE when putting the textfield in the field was generously embedding another font to render the missing characters. So the textfield created in the IDE was magically embedding two fonts and was able to render all the characters. Cheers, chr 2009/3/20 Peter Farland pfarl...@adobe.com: Hey Christian, Make sure there are no null chars 0x00 in the String as the display of such Strings are truncated at the first null char. What version of Flex are you using? Are you using an @font-face to embed your font? If so, can you post a snippet showing the complete @font-face rule? Can you provide the fontsmanagers section of your Flex SDK /frameworks/flex-config.xml? Also, you could try adding -Dtrace.font as JVM args to get the compiler to print out more debug information about embedding fonts while compiling. If you're using mxmlc.exe, you can add these to the java.args property in the /bin/jvm.config file of your Flex SDK. Pete -Original Message- From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Christian Giordano Sent: Thursday, March 19, 2009 8:41 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Embedding/visualizing special characters issue Hi guys, this is getting a bit mad, can anyone manage to embed and visualize characters like: ř (U+0159) ? I'm trying to embed an OpenType font (AvantGarde) to be able to show Chek chars, like: ůěČžíýř And regardless the unicodeRange, there is no way to make it see it :S Also other chars of the string are not visible. I tried from Flash IDE too, without success unless they are typed on the instance itself, for this reason I'm considering it can be a problem of string handling more than font embedding. Any idea how I could sort this? Cheers, chr -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Alternative FAQ location: https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847 Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Alternative FAQ location: https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847 Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Alternative FAQ location: https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847 Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:flexcoders-dig...@yahoogroups.com mailto:flexcoders-fullfeatu...@yahoogroups.com * To unsubscribe from this group, send an email to: flexcoders-unsubscr...@yahoogroups.com * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [flexcoders] Embedding/visualizing special characters issue
I tried to add the parameter to the java compiling but doesn't seem to work. I'm using Ant and I'm on a mac. Cheers, chr 2009/3/20 Christian Giordano christ...@nuthinking.com: Funnily enough it was just the font missing the characters. What was driving me crazy is that Flash IDE when putting the textfield in the field was generously embedding another font to render the missing characters. So the textfield created in the IDE was magically embedding two fonts and was able to render all the characters. Cheers, chr 2009/3/20 Peter Farland pfarl...@adobe.com: Hey Christian, Make sure there are no null chars 0x00 in the String as the display of such Strings are truncated at the first null char. What version of Flex are you using? Are you using an @font-face to embed your font? If so, can you post a snippet showing the complete @font-face rule? Can you provide the fontsmanagers section of your Flex SDK /frameworks/flex-config.xml? Also, you could try adding -Dtrace.font as JVM args to get the compiler to print out more debug information about embedding fonts while compiling. If you're using mxmlc.exe, you can add these to the java.args property in the /bin/jvm.config file of your Flex SDK. Pete -Original Message- From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Christian Giordano Sent: Thursday, March 19, 2009 8:41 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Embedding/visualizing special characters issue Hi guys, this is getting a bit mad, can anyone manage to embed and visualize characters like: ř (U+0159) ? I'm trying to embed an OpenType font (AvantGarde) to be able to show Chek chars, like: ůěČžíýř And regardless the unicodeRange, there is no way to make it see it :S Also other chars of the string are not visible. I tried from Flash IDE too, without success unless they are typed on the instance itself, for this reason I'm considering it can be a problem of string handling more than font embedding. Any idea how I could sort this? Cheers, chr -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Alternative FAQ location: https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847 Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Alternative FAQ location: https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847 Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Alternative FAQ location: https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847 Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:flexcoders-dig...@yahoogroups.com mailto:flexcoders-fullfeatu...@yahoogroups.com * To unsubscribe from this group, send an email to: flexcoders-unsubscr...@yahoogroups.com * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] Embedding/visualizing special characters issue
For ANT, you may have to provide the arguments using the jvmarg as child tag to mxmlc or compc instead of relying on /bin/jvm.config, e.g. something like: jvmarg line=-Dtrace.font/ Pete -Original Message- From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Christian Giordano Sent: Friday, March 20, 2009 10:41 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Embedding/visualizing special characters issue I tried to add the parameter to the java compiling but doesn't seem to work. I'm using Ant and I'm on a mac. Cheers, chr 2009/3/20 Christian Giordano christ...@nuthinking.com: Funnily enough it was just the font missing the characters. What was driving me crazy is that Flash IDE when putting the textfield in the field was generously embedding another font to render the missing characters. So the textfield created in the IDE was magically embedding two fonts and was able to render all the characters. Cheers, chr 2009/3/20 Peter Farland pfarl...@adobe.com: Hey Christian, Make sure there are no null chars 0x00 in the String as the display of such Strings are truncated at the first null char. What version of Flex are you using? Are you using an @font-face to embed your font? If so, can you post a snippet showing the complete @font-face rule? Can you provide the fontsmanagers section of your Flex SDK /frameworks/flex-config.xml? Also, you could try adding -Dtrace.font as JVM args to get the compiler to print out more debug information about embedding fonts while compiling. If you're using mxmlc.exe, you can add these to the java.args property in the /bin/jvm.config file of your Flex SDK. Pete -Original Message- From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Christian Giordano Sent: Thursday, March 19, 2009 8:41 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Embedding/visualizing special characters issue Hi guys, this is getting a bit mad, can anyone manage to embed and visualize characters like: ř (U+0159) ? I'm trying to embed an OpenType font (AvantGarde) to be able to show Chek chars, like: ůěČžíýř And regardless the unicodeRange, there is no way to make it see it :S Also other chars of the string are not visible. I tried from Flash IDE too, without success unless they are typed on the instance itself, for this reason I'm considering it can be a problem of string handling more than font embedding. Any idea how I could sort this? Cheers, chr -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Alternative FAQ location: https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847 Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Alternative FAQ location: https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847 Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Alternative FAQ location: https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847 Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Alternative FAQ location: https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847 Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:flexcoders-dig...@yahoogroups.com mailto:flexcoders-fullfeatu...@yahoogroups.com * To unsubscribe from this group, send an email to: flexcoders-unsubscr...@yahoogroups.com * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] Embedding/visualizing special characters issue
Hey Christian, Make sure there are no null chars 0x00 in the String as the display of such Strings are truncated at the first null char. What version of Flex are you using? Are you using an @font-face to embed your font? If so, can you post a snippet showing the complete @font-face rule? Can you provide the fontsmanagers section of your Flex SDK /frameworks/flex-config.xml? Also, you could try adding -Dtrace.font as JVM args to get the compiler to print out more debug information about embedding fonts while compiling. If you're using mxmlc.exe, you can add these to the java.args property in the /bin/jvm.config file of your Flex SDK. Pete -Original Message- From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Christian Giordano Sent: Thursday, March 19, 2009 8:41 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Embedding/visualizing special characters issue Hi guys, this is getting a bit mad, can anyone manage to embed and visualize characters like: ř (U+0159) ? I'm trying to embed an OpenType font (AvantGarde) to be able to show Chek chars, like: ůěČžíýř And regardless the unicodeRange, there is no way to make it see it :S Also other chars of the string are not visible. I tried from Flash IDE too, without success unless they are typed on the instance itself, for this reason I'm considering it can be a problem of string handling more than font embedding. Any idea how I could sort this? Cheers, chr -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Alternative FAQ location: https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847 Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Alternative FAQ location: https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847 Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:flexcoders-dig...@yahoogroups.com mailto:flexcoders-fullfeatu...@yahoogroups.com * To unsubscribe from this group, send an email to: flexcoders-unsubscr...@yahoogroups.com * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/