Hi VELO,
the paths I am using in the module are standard:
src/main/flex/fonts/MontrealTS-Heavy.ttf
...and then in src/main/flex/fonts.css:
/* MontrealTS Heavy Standard */
@font-face {
src:url("fonts/MontrealTS-Heavy.ttf");
font-family:MontrealHeavy;
font-style:normal;
font-weight:normal;
advanced-anti-aliasing:true;
/* Latin Basic, Latin I, Latin Extended A, Latin Extended B*/
unicodeRange:
U+0020-U+0020,
U+002E-U+002E,
U+0020-U+002F,
U+0030-U+007E,
U+00A0-U+00FF,
U+0100-U+024F,
U+02C6-U+02C6,
U+02DC-U+02DC,
U+2000-U+206F,
U+20A0-U+20CF,
U+2100-U+2183;
}
...and in the pom:
<configuration>
<sourceFile>fonts.css</sourceFile>
Well, it builds from within the module but not from the parent.
Anything stupid I overlooked?
Thanks and Regards,
Peter
On Jun 23, 12:46 pm, Marvin Froeder <[email protected]> wrote:
> Are the paths correct?
> Can be a bug on flexmojos....
>
> VELO
>
> On Tue, Jun 23, 2009 at 5:44 AM, peja <[email protected]> wrote:
>
> > Thanks for the hint - after adding afe.jar and agl32.jar it almost
> > works. I build my theme SWF containing the fonts as a submodule; when
> > I build within the submodule, it works, when I build from the parent
> > POM, it fails. This is probably related to the Maven reactor
> > mechanism. Did anybody manage to embed fonts in a submodule?
>
> > [ERROR] /Volumes/Scoyo/flex/LearnApplication/1.2-work/BaseTheme/src/
> > main/flex/allScoyoStyles.css:[2343,-1] exception during transcoding:
> > No FontManager provided. Cannot build font.
> > [ERROR] /Volumes/Scoyo/flex/LearnApplication/1.2-work/BaseTheme/src/
> > main/flex/allScoyoStyles.css:[2343,-1] unable to build font 'Verdana'
> > [ERROR] /Volumes/Scoyo/flex/LearnApplication/1.2-work/BaseTheme/src/
> > main/flex/allScoyoStyles.css:[2343,-1] Unable to transcode fonts/
> > verdanai.ttf.
>
> > Thanks and Regards,
> > Peter
>
> > On Jun 21, 2:34 pm, Logan Allred <[email protected]> wrote:
> > > On Sun, Jun 21, 2009 at 3:08 AM, peja<[email protected]> wrote:
> > > > Isn't the fontkit.jar added to the Classpath? What did I overlook?
>
> > > There may be dependencies. I would also install afe.jar, agl32.jar,
> > > and rideau.jar and get them on the classpath.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Flex Mojos" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/flex-mojos?hl=en?hl=en
http://blog.flex-mojos.info/
-~----------~----~----~----~------~----~------~--~---