Open GoogleCodeExporter opened 9 years ago
can you provide an example, or at least the MXML of your example and a
screenshot?
My guess is that the font simply isn't embedded. Rotated text only works with
embedded fonts, if you don't embed your font then the text will not show up. If
you
post an example I can verify that you are embedding your font correctly.
Original comment by dmcc...@gmail.com
on 8 Jan 2009 at 6:14
Hi Doug,
Thanks for the reply.
I'll need to explain a bit of what i discovered.
About HAccordion, the fault (well, at least i think he's the "one") is that
anywhere
in the code it loads only the bold version of the font(maybe at some part that
comes
from flex button in CanvasButtonAccordionHeader class?), even when i don't do
any
call to a bold weight, and also doesn't support the css defining the normal
weight.
If you can, please me tell me how to disable this call that HAccordion does to
load a
bold font in header.
In short: i had to find a japanese font family with normal and bold version
also,
because if i load a bold ttf file, it doesn't reconize as bold, i had to find
one
font family with bold kanjis (one ttc file with normal, bold, italic etc...).
Japanese characters can reach the amount of 3, 4 thousands of letters, so only
truly
good Japanese fonts have all them. In html, the browser automatically change
the font
for a system font with that character, but embed flex font no...and that's my
trauma...i'm embending 7 megas of font file! :(
(but this isn't your component issue, off course)
here's the code:
the call for the component: ================================================
<flexlib:HAccordion id="accordion" width="100%" height="{HArcordeonHeigth}" x="0"
y="0"
headerRenderer="componente.header_acordeon" backgroundAlpha="0"
resize="mudaTamanho();"
minHeight="600" minWidth="750" styleName="acordeonH"
headerStyleName="titleheaderJA">
<componente:ArcodeonItem_home title="{resourceManager.getString('myResources',
'menu_home')}" width="100%" height="100%" id="menu_home"/>
</flexlib:HAccordion>
and the header component: ======================================================
<?xml version="1.0" encoding="utf-8"?>
<CanvasButtonAccordionHeader
xmlns="flexlib.containers.accordionClasses.*"
xmlns:mx="http://www.adobe.com/2006/mxml"
verticalScrollPolicy="off" horizontalScrollPolicy="off">
<mx:VBox styleName="mainBox" width="100%" height="100%" id="mainBox">
<mx:Label text="{data.title.toUpperCase()}" styleName="titleheaderSpace"
width="100%" id="titleheader" />
</mx:VBox>
</CanvasButtonAccordionHeader>
Original comment by carlosca...@gtempaccount.com
on 8 Jan 2009 at 9:06
Original issue reported on code.google.com by
carlosca...@gtempaccount.com
on 2 Jan 2009 at 8:48