Michael R Sweet

Results 786 comments of Michael R Sweet

Original reporter: Michael Sweet Unfortunately, the current mxml_sax_cb_t function can't return a value, so this isn't something I can easily add support for without breaking compatibility with existing apps. I'll...

Original reporter: Michael Sweet No problem, i patched the code myself to get it working. Maybe it's possible to add an extra boolean parameter to be able to quit the...

Original reporter: Hi leon.wennekers, currently I have the same issue. I want to stop parsing the XML file. I read that you have added the feature to stop parsing XML...

Original reporter: Michael Sweet Moving this to the Mini-XML 3.0 timeframe.

OK, I'm scoping the changes that will land in Mini-XML 3.0 and I think I will be holding off on breaking API changes for now, sorry...

@GPaso Yes because changing the SAX callback function to return a value (right now it is a void function) will break existing users of the API.

@GPaso It is *not* feasible since there is no context information in the callback that could be used for this, and Mini-XML is a multi-threaded library. I'm not going to...

@gabrielaexile I can look at adding them, but the current text handling capabilities in PDFio are intentionally limited since doing proper Unicode rendering is more complicated than drawing each of...

Oh, and FWIW my mini TrueType/OpenType library (embedded in PDFio and available [separately](https://github.com/michaelrsweet/ttf) can be used to get the extents of a string for a given font. I'm using this...

Hmm, will consider this for a future feature release after 1.0. There is still a lot of work to do with text support...