Skip to content

Respond to Q&A (separate from chat) in revision #20

@djbpitt

Description

@djbpitt

5 Votes
8/6/2021, 2:39 PM
Syd Bauman
Charlie — Was this your first conference presentation? If so, CONGRATS! If not, still a job well done :-)
0 replies

Pin question to top
Hide question from audience
Mark as answered

1 Votes
8/6/2021, 2:17 PM
Joshua Lubell
Off topic, but I wonder what was going on with Van Gogh in 1883 that resulted in his relatively better self-reported health that year? Excellent talk BTW
New question
Pin question to top
Hide question from audience
Mark as answered
Answered Questions

4 Votes
8/6/2021, 2:26 PM
Jonathan Robie
This is not a question, but this is really an excellent presentation, very systematic and thoughtful, laying out the engineering tradeoffs in detail. Kudos.
1 reply

Pin question to top
Hide question from audience
Mark as answered

3 Votes
8/6/2021, 2:27 PM
Evan Lenz
I can see a need for a general solution for formatting-dependent SVG, getting feedback from the formatter, e.g. for flowing text within a graphic. I'm imagining a declarative dependency graph similar to what Steven Pemberton presented for XForms.
1 reply

Pin question to top
Hide question from audience
Mark as answered

1 Votes
8/6/2021, 2:20 PM
Debbie Lapeyre
Can you comment on how much CSS Flexbox helped you
1 reply

Pin question to top
Hide question from audience
Mark as answered

1 Votes
8/6/2021, 2:23 PM
C M Sperberg-McQueen
Do fonts ever use negative kerning? Or is it a safe assumption that the sum of character widths will be a strict upper bound for the width as laid out?
3 replies

Pin question to top
Hide question from audience
Mark as answered

1 Votes
8/6/2021, 2:24 PM
Steve DeRose
Very nice work! w.r.t. the javascript approach: bounding-box is handy, but last I checked, could not help with finding the soft-wrap points in multi-line text. If you wanted to support 2-line headings, would that be feasible in the JS approach?
1 reply

Pin question to top
Hide question from audience
Mark as answered

1 Votes
8/6/2021, 2:28 PM
Syd Bauman
Can you elaborate on how you “prepare the font metrics”, i.e., how you get the character widths into your XSLT?
2 replies

Pin question to top
Hide question from audience
Mark as answered

1 Votes
8/6/2021, 2:31 PM
Frank Wegmann
This touches an issue that is very common for translations. When we (let) translate diagrams into Japanese, this gets nonetheless tricky. Any ideas whether your XSL could sucessfully work on that?
3 replies

Pin question to top
Hide question from audience
Mark as answered

1 Votes
8/6/2021, 2:45 PM
Wendell Piez
Going to ask the same question I had for Liam - ever thought of SaxonJS and specifically of (re)drawing the SVG in response to browser events? Best of both worlds?
1 reply

Pin question to top
Hide question from audience
Mark as answered

0 Votes
8/6/2021, 2:13 PM
Ian E. Gorman
commrnt: One of the annoying features of a drawing application that I use is that text does not resize when the drawing is resized. Perhaps this is the solution.
1 reply

Pin question to top
Hide question from audience
Mark as answered

0 Votes
8/6/2021, 2:14 PM
Liam Quin
Although kerning and ligatures can in fact be controlled in CSS, if you are using font-tools to get truetype/otf to XML you get the kern info, but text shaping for Arabic of Hindi would be much much harder than this.
1 reply

Pin question to top
Hide question from audience
Mark as answered

0 Votes
8/6/2021, 2:22 PM
John Lumley
As someone whose (complete) PhD thesis was rendered in SVG using PDF font metrics before PDF conversion - I salute everything you've explored - well done!
1 reply

Pin question to top
Hide question from audience
Mark as answered

0 Votes
8/6/2021, 2:25 PM
Gerrit Imsieke
Do you really need to create separate SVG elements in the JS approach? As I understood the MDN documentation, you can apply getBBox() to any element contained in the SVG.
1 reply

Pin question to top
Hide question from audience
Mark as answered

Metadata

Metadata

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions