John Ehresman wrote:
Robert Roessler wrote:
What prompted this exchange was my noticing the tree:
http://www.gtk.org/api/2.6/pango/
You probably ought to be looking at
http://developer.gnome.org/doc/API/2.0/pango/index.html Even when
developing for an older version, it's often helpful to look at newer
versions of the docs because people sometimes fill in and improve the
documentation of older functions.
Well, I had been *trying* to look at the latest docs (for the reasons
you cite as well as others) - and these had popped up in some Google
searches...
Thanks for prodding me to look more carefully at the doc tree
versioning... who would have guessed that a "2.0" branch is more
current than a "2.6" one? :)
Actually some of the backend independent functionality I was thinking of
is in gdk -- see
http://developer.gnome.org/doc/API/2.0/gdk/gdk-Pango-Interaction.html
and
http://developer.gnome.org/doc/API/2.0/gdk/gdk-Drawing-Primitives.html#gdk-draw-glyphs
Yup - already saw those (or at least the "archaic" versions). ;)
I don't know exactly how this would all fit together, but I think those
are the places to start if you want to replace pango's layout of glyphs
with scintilla's. This would bypass pango's support for right-to-left
and bi-directional text, however, but I'm not sure if scintilla
currently supports these.
Actually, if anything, I would be interested in going the other way -
use more of Pango *if and where appropriate* (given that there is
active development of the codebase, whereas this part of Scintilla is
not exactly a hotbed of activity currently)... clearly, overlapping
functionality exists. Of course, I only want to use the "good" calls
- the magical ones that take no time or resources. :)
Robert Roessler
[EMAIL PROTECTED]
http://www.rftp.com
_______________________________________________
Scintilla-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scintilla-interest