you have to remember that there are two types of stylesheets in the
flex. those that compile in and those which load at runtime. i suspect
rob is refereing to a stylesheet loaded with the mx:style tag (which
compiles in) vs one which loads in at runtime.
embeded fonts in a compiled stylesheet
Rob Rusher wrote:
Did you try adding it in your style sheet like this:
@font-face {
src: url(assets/fonts/arial.ttf);
fontFamily:futura;
unicode-range: glyphs;
}
Then in your flex-config.xml set the unicode-range:
language-range
langglyphs/lang
rangeU+0E01-U+0E5B/range
@font-face {
src: url(assets/fonts/arial.ttf);
fontFamily:futura;
unicode-range: glyphs;
}
the same embed tags should work with an AS3 project
On 1/1/06, Michael Klishin [EMAIL PROTECTED] wrote:
Rob Rusher wrote:
Did you try adding it in your style sheet like this:
@font-face {
-
From: Johannes Nel [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Monday, January 02, 2006 5:39 AM
Subject: Re: [flexcoders] Embed font's glyphs in AS3 Project in Flex Builder
2 alpha
you have to remember that there are two types of stylesheets in the
flex. those that compile in and those
-
From: Johannes Nel [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Monday, January 02, 2006 5:39 AM
Subject: Re: [flexcoders] Embed font's glyphs in AS3 Project in Flex Builder
2 alpha
you have to remember that there are two types of stylesheets in the
flex. those that compile
]
To: flexcoders@yahoogroups.com
Sent: Monday, January 02, 2006 11:01 AM
Subject: Re: [flexcoders] Embed font's glyphs in AS3 Project in Flex Builder
2 alpha
yeah. the werid thing is that then applying embeded fonts to mx:text
does not always work if the text is html text, and you have to load a
stylesheet
because you are correctly repressing the horrors of it.
- Original Message -
From: Johannes Nel [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Monday, January 02, 2006 11:01 AM
Subject: Re: [flexcoders] Embed font's glyphs in AS3 Project in Flex Builder
2 alpha
yeah. the werid
Good attitude.
- Original Message -
From: Johannes Nel [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Monday, January 02, 2006 11:17 AM
Subject: Re: [flexcoders] Embed font's glyphs in AS3 Project in Flex Builder
2 alpha
the attitude i have adopted towards flex: if it works
Hi,
Thanks for help Jesse and Johannes :)
Regards,
--
Michael Antares Klishin,
Email: [EMAIL PROTECTED]
Web: www.novemberain.com
Non progredi est regredi
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives:
', unicodeRange='U+0E01-U+0E5B')]
public var f4:String;
Pete
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Michael Klishin
Sent: Monday, January 02, 2006 12:48 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Embed font's glyphs in AS3
Hi,
Is there a way to embed specific set of glyphs in Action Script 3
project in Zorn? Like we do with Embed button in Flash.
Thanks in advance, Happy new year!
--
Michael Antares Klishin,
Email: [EMAIL PROTECTED]
Web: www.novemberain.com
Non progredi est regredi
--
Flexcoders Mailing List
[Embed(systemFont='Arial', mimeType='application/x-font-truetype')]
- Original Message -
From: Michael Klishin [EMAIL PROTECTED]
To: Flexcoders flexcoders@yahoogroups.com
Sent: Sunday, January 01, 2006 1:41 PM
Subject: [flexcoders] Embed font's glyphs in AS3 Project in Flex Builder 2
JesterXL wrote:
[Embed(systemFont='Arial', mimeType='application/x-font-truetype')]
Thanks Jesse but this will embed the whole font, won't it? What if I
need, say, just numerals? Or just letters a, j, u, and w?
Is there a way to do it?
--
Michael Antares Klishin,
Email: [EMAIL PROTECTED]
PM
Subject: Re: [flexcoders] Embed font's glyphs in AS3 Project in Flex Builder
2 alpha
JesterXL wrote:
[Embed(systemFont='Arial', mimeType='application/x-font-truetype')]
Thanks Jesse but this will embed the whole font, won't it? What if I
need, say, just numerals? Or just letters a, j, u
: [flexcoders] Embed font's glyphs in AS3 Project in Flex Builder
2 alpha
JesterXL wrote:
[Embed(systemFont='Arial', mimeType='application/x-font-truetype')]
Thanks Jesse but this will embed the whole font, won't it? What if I
need, say, just numerals? Or just letters a, j, u, and w
15 matches
Mail list logo