docbook-apps

  • 1.  default value for @content-width in fo xsls

    Posted 08-30-2011 12:31
    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1

    Hi there,
    I notice that the default value for content-width in the fo stylesheets
    is currently "auto". Is there any reason not to make the default
    "scale-down-to-fit" [1]? Or should it be parameterized for those using
    older fo processors that don't support scale-down-to-fit? If so, is
    there an existing parameter that could be used or would it require a new
    parameter?

    Thanks,
    David

    [1] http://www.w3.org/TR/2006/REC-xsl11-20061205/#content-height
    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.4.11 (GNU/Linux)
    Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

    iQEcBAEBAgAGBQJOXNfyAAoJEMHeSXG7afUhnoAH/3D9ERpg4/jq/fH9OkhKTVo/
    sLzTVca0M1+tLoHjW5NN4c1lHjO/ITfDtoKD74zXuGxtvHwm4VAnCykERnRcxPyV
    Kpk1FZOEAbkrfKIPlLdD/oj73bbQ7Von0f0bieNZmb1jROGUYG3HwcPVWhVbLPJT
    clkwcWRE4OpYTvMQCA6wECpSBLcA6lOTY//tzzBF+ZBFGlf8WIoADYxYUPMsUijq
    H30Cu6neQYrFv6Bg9ANgZIitQv6VZ9bV8+nmoLeybKcNPH/mtLqtingc5wVN5fF8
    0mq5bQWSrEIZDRb9+aOKwWQ9tTOCoZSK5nC4CkXuTCNMRlOUYgfEgJ8mycqPPTg=
    =Xbtm
    -----END PGP SIGNATURE-----



  • 2.  Re: [docbook-apps] default value for @content-width in fo xsls

    Posted 08-30-2011 18:23
    Dnia wtorek, 30 sierpnia 2011 o 14:30:44 David Cramer napisal(a):
    > Hi there,
    > I notice that the default value for content-width in the fo stylesheets
    > is currently "auto". Is there any reason not to make the default
    > "scale-down-to-fit" [1]? Or should it be parameterized for those using

    scale-down-to-fit could render the text unreadable, couldn’t it? Unreadable text worse than clipped text.

    Chris



  • 3.  Re: [docbook-apps] default value for @content-width in fo xsls

    Posted 08-30-2011 21:59
    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1

    On 08/30/2011 01:23 PM, Krištof Želechovski wrote:
    > Dnia wtorek, 30 sierpnia 2011 o 14:30:44 David Cramer napisal(a):
    >> Hi there,
    >> I notice that the default value for content-width in the fo stylesheets
    >> is currently "auto". Is there any reason not to make the default
    >> "scale-down-to-fit" [1]? Or should it be parameterized for those using
    >
    > scale-down-to-fit could render the text unreadable, couldn’t it? Unreadable text worse than clipped text.

    I guess it's a matter of preference. I would much rather have a scaled
    down image than a truncated one. IIRC, XEP doesn't render the images at
    all if there's not enough space (at least in some situations). So your
    choice is a scaled down image or nothing.

    Does anybody know what other renderers do with images that are too large?

    David
    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.4.11 (GNU/Linux)
    Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

    iQEcBAEBAgAGBQJOXV07AAoJEMHeSXG7afUhzpsIAJHa1vJO+OagVgxM4nlQdBCr
    6Cd5VDLB62TNlQ0aA0p+Mivj0fXXWzJsbdSOfRdZriicWbvvzqgZEM9JaYrcdDGe
    CyHe+GDOMI/CNOSEiIcEW33G69aybd0Ipwv6vlrMkuDxRe268C2YMaZhDiYYOOHU
    TwAsks4TtpPW77f0VhbiXpaxd8h1UU0VvRTMs1My9mg0Squ8r0OOILhJk7P4MVZT
    hRC2G6r2FF44rzhwr1keti8pMkJQHxyDzS+0VLQm7/jE0uZlzkMeLwV4ZtmPibol
    UESh5z8C8f580ywEPjjqSnfcxpeNSUgUSiJa6sJd8aX4zoBDtddEcJ81LdCmU30=
    =VxAs
    -----END PGP SIGNATURE-----



  • 4.  Re: [docbook-apps] default value for @content-width in fo xsls

    Posted 08-31-2011 10:13
    On 08/30/2011 10:59 PM, David Cramer wrote:
    > -----BEGIN PGP SIGNED MESSAGE-----
    > Hash: SHA1
    >
    > On 08/30/2011 01:23 PM, Krištof Želechovski wrote:
    >> Dnia wtorek, 30 sierpnia 2011 o 14:30:44 David Cramer napisal(a):
    >>> Hi there,
    >>> I notice that the default value for content-width in the fo stylesheets
    >>> is currently "auto". Is there any reason not to make the default
    >>> "scale-down-to-fit" [1]? Or should it be parameterized for those using
    >> scale-down-to-fit could render the text unreadable, couldn’t it? Unreadable text worse than clipped text.
    > I guess it's a matter of preference. I would much rather have a scaled
    > down image than a truncated one.
    +1


    > IIRC, XEP doesn't render the images at
    > all if there's not enough space (at least in some situations). So your
    > choice is a scaled down image or nothing.
    Which is very annoying.
    I think this is a reasonable default. For a user wanting to resize
    the options are there, I'd hope the default did what is most
    widely expected, which in this case (IMHO) is to scale to fit.

    regards






    regards

    --
    Dave Pawson
    XSLT XSL-FO FAQ.
    http://www.dpawson.co.uk