[Laszlo-user] Fonts on 3.0rc1 - OSX
Henry Minsky
henry.minsky at gmail.com
Thu Apr 21 10:11:04 PDT 2005
Does your test app work on Windows Firefox or IE?
Where did you get those .ttf files? Are you sure they are in a valid format?
Can you send them to me as a zip file, and I will try it on my Windows machine.
On 4/21/05, Benjamin Cox <ben at insourcery.com> wrote:
> I've verified that this behavior happens, as well, on Linux (Fedora
> Core 3, Tomcat 4.1.24, Flash 7, Firefox). Seems like it's not Mac, but
> Laszlo!
>
> I've tried with and without style='plain' on the first face tag, and
> I've also tried adding a style='italic' and making the Hello, World
> italic (this actually worked). However, there seems to be no way to
> get the 'plain' and 'bold' fonts to show up at the same time!
>
> How do I make a font family that can be used as seen in the 'text'
> element below (in my original message) in 3.0rc1?
>
> If I can't, is this a bug, or is the documentation wrong?
>
> Thanks,
>
> Ben
>
> On Apr 16, 2005, at 10:06 PM, Benjamin Cox wrote:
>
> >
> > <canvas width="60%" height="600">
> >
> > <font name="sanSerifFont">
> > <face src="fonts/HelveticaNeue.ttf"/>
> > <face src="fonts/HelveticaNeueLight.ttf" style="bold"/>
> > </font>
> > <font name="sanSerifLight">
> > </font>
> >
> > <view width="${parent.width}" height="${parent.height}">
> > <text width="150" height="150"
> > font="sanSerifFont" fontsize="15" multiline="true">
> > Hello, World!<br/>
> > <b>What the heck is going on here?</b><br/>
> > </text>
> > </view>
> > </canvas>
>
> _______________________________________________
> Laszlo-user mailing list
> Laszlo-user at openlaszlo.org
> http://www.openlaszlo.org/mailman/listinfo/laszlo-user
>
--
Henry Minsky
Software Architect
hminsky at laszlosystems.com
More information about the Laszlo-user
mailing list