Menu

#719 fit="fill" doesn't show all <smilText> text

open
None
7
2011-07-04
2011-03-24
Kees Blom
No

http://www.multimedia4everyone.com/will_rogers/text-fit-fill.smil
shows a bug for fill="fit" in a <smilrexr> element: not all text is shown
on all platforms (last line omitted or sliced).

The bug is sen in:
AmbulantPlayer_gtk (Linux)
firefox plugin (linux)
MacOs (cocoa)
MacOs (cg)
MacOs (safari plugin)
iAmbulant

It is not seen in:
AmbulantPlayer (window)
firefoxplugin (windows)
AmbulantPlayer_qt (linux)

Discussion

  • Kees Blom

    Kees Blom - 2011-03-24

    smil file showing the bug

     
  • Kees Blom

    Kees Blom - 2011-03-26

    original email from jose@multimedia4everyone.com

    Hello,

    With Ambulant branching into other platforms and in making those
    smilFiles interchangeable.

    Could fit="fill" for text containers be a key feature?

    How easy is it to present images the same way with SMIL, fit="fill" for
    text could accomplish
    that for text.

    And if the person viewing wants the text larger then the text container
    could be enlarge, simultaneously the other
    visual media reduced in a predetermine layout.

    I found an fit="fill" HTML example of this:

    http://www.geekymonkey.com/programming/jquery/TextFill/example.htm

    What do you guys think?

    I think this makes it so simple to make universal smilfile.

     
  • Kees Blom

    Kees Blom - 2011-03-26

    fit="fill" example in<smilText> and html

     
  • Kees Blom

    Kees Blom - 2011-07-04
    • priority: 8 --> 7
     
  • Kees Blom

    Kees Blom - 2011-07-04

    The Smil 3.0 fit attribute has not been implemented for smilText on any platform.
    That it seems to work in AmbulantPlayer (windows) and AmbulantPlayer_qt (linux)
    is caused by the fact that these platforms use the (internal) smiltext_layout_engine and that it has a bug not to show all linefeeds as
    specified by <br/> elements in the smilText example, so that the text just fits.

     

Log in to post a comment.