royale-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Carlos Rovira <>
Subject Re: Inject a Font
Date Thu, 15 Mar 2018 17:34:30 GMT
Thanks Jason,

I tried it but the compiler complains I'll fill a bug, it seems not
prepared for @import

but I saw the following in the same page

"You shoud avoid the use of @import because it will defer the loading of
the included resource until the file is fetched. See the detailed answer

I read about the problems of @import in general, so I think that solution
is not good

But thanks for suggesting it! :)

PD The error in the compiler is:

[INFO] Executing MXMLC in tool group Royale with args:
Internal error: java.util.EmptyStackException

2018-03-15 18:12 GMT+01:00 Jason Guild <>:

> Carlos:
> There is also CSS3 @import directive to get the Google-generated rules
> into the runtime [0].
> Then there is no need to inject a <link> tag into the HTML at all.
> Jason
> [0]
> google-web-font-in-css-file
> On 3/15/2018 8:36 AM, Carlos Rovira wrote:
>> we could add this directly, and I thought about this, but I think is
>> better
>> to inject the link line since is less code and we left to google what code
>> serve us.

Carlos Rovira

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message