Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.
  • I too wistfully miss that warmer Australian weather especially at this time of year in the UK.

    In your previous entry you mentioned minutes of a meeting at which SVG issues of kerning and ligatures etc. were discussed - where might those be published? I'm fascinated by SVG but come from a Postscript/PDF perspective and am trying to get a handle on SVGs capabilities/limitations WRT text layout, fonts, presentation quality etc.

    • They'll be published as soon as I'm done cleaning them up :) However I doubt you'll find them of much interest as such though. They are minutes of a live discussion addressing for the most part what happens if a user has defined a ligature in an SVG font that crosses bidi boundaries. It won't give you a good idea of what SVG can do.

      As for what SVG can do, well, it's pretty much powerful like hell. I'm biased of course, but speaking the truth nevertheless ;) The next big step for printers is to star


      -- Robin Berjon []

      • by gtod (2306) on 2003.01.22 9:39 (#16268)
        Thanks for the generous reply!

        I'm writing a tool a developer would use to create a data driven report. For previous generations of this tool I've emitted PDF. Now I think SVG might be better - especially for web presentation.

        The other thing you want to do is print these reports - it would be great if printers could consume SVG but for now I'm not troubled as I imagine it wouldn't be too hard to write a special case svg2ps converter (at least for the SVGs my tool is authoring).

        The big issue seems to be to be fonts. Assuming I'm a developer using this SVG creation tool of mine can I use a font I've got installed on my system (say Type1 Garamond) to precisely control the formatting of text in my SVG output file? I'm talking inter-letter and inter-word spacing and kerning. This is (of course) what you can do in PDF. If the answer is yes - great news! It is given that my tool uses the the font metric files to do all the precise positioning - that's no problem. However if there are no inter-letter and inter-word spacing operators you end up having to individually position every character for full justification -which might be too ugly for my liking...

        Now if I send this SVG file to someone who does not have Garamond installed - can I embed the font in the SVG file as I can with PDF to ensure perfect fidelity?

        I think I'm a bit confused on the SVG font issue because the spec refers to the CSS2 font mechanism which means nothing to me. And then there's this page which is a bit scary: SVG fonts shame []

        • It's hard to tell if SVG is or not right for what you are looking for, at least until the next version. Spacing and kerning can be controlled to a degree but using a system font, depending on how much control you want you may have to go to absolute positionning of individual glyphs.

          What yo umight want to do there is use the system font to SVG font converter that ships with Batik and use that to get an SVG font over which you then have full control. That's the way in which fonts are embedded into SV


          -- Robin Berjon []