[Laszlo-dev] LzCanvas API disappearances: build, embedfonts, expires, libraries, maxtextheight, maxtextwidth
Henry Minsky
henry.minsky at gmail.com
Thu Nov 1 06:37:50 PDT 2007
On 10/31/07, Benjamin Shine <ben at laszlosystems.com> wrote:
>
>
> I continue to track down differences between the 3.4 doc and the 4.1
> doc. Today I'm interested in several attributes that appear in the
> 3.4 reference for LzCanvas, but are not in the 4.1 reference for
> LzCanvas.
LPP-5009: Setting the embedfonts attribute of canvas doesn't cause a
> compilation warning or error, but "embedfonts" is not present in
> LaszloCanvas.lzs. Is the API gone, or is the validator confused?
> Surely this should be an error, at least in DHTML.
> <canvas embedfonts="true"> </canvas>
I totally forget the details of how it's supposed to work, but the compiler
looks at the embedfonts flag when deciding whether to bake fonts into the
app. So it
is quite possible nothing in the runtime looks at that flag.
LPP-5008: API change from 3.4 to 4.1: canvas.build gone (seems to
> have been replaced with canvas.lpsbuild)
>
>
> Finally -- these three attributes are documented in the 3.4
> reference, but not found in the 4.1 source. Are they a changed API?
> LzCanvas.libraries
LzCanvas.maxtextheight
> LzCanvas.maxtextwidth
Those last two are obsolete, they were needed as hints to the compiler
because of
Flash 5 limitations on how runtime text could be dimensioned.
-- these are covered by the omnibus LPP-4972: Elements in LzCanvas
> class attribute lists in 3.4 and 4.1 refguides don't match
>
> -ben
>
>
>
>
>
--
Henry Minsky
Software Architect
hminsky at laszlosystems.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.openlaszlo.org/pipermail/laszlo-dev/attachments/20071101/4c38ae47/attachment.html
More information about the Laszlo-dev
mailing list