-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Brian Griffin wrote:
> On Tue, Mar 24, 2009 at 4:28 PM, T. Horsnell <t...@mrc-lmb.cam.ac.uk> <mailto:t...@mrc-lmb.cam.ac.uk>> wrote:> > Jeff Hobbs wrote:> > On 24/03/2009 9:46 AM, T. Horsnell wrote:> >> Is there a way in TCLTK to use fontfiles from a private directory?> >> Preferably a way in which one can refer to such files by an explicit> >> file-path.> >> > Tk is directed by the fonts the X server (or OS system) says are> > available. Just make that font available through the X server and Tk> > will see it.> >> > Jeff> > Yes, but I want to do this under Windows as well as Linux and I dont> want the user to have to install this private fontset in either case.> I want to be able to distribute them along with the application.> > Sounds like a good GSoC project :-)>
This can probably be achieved using AddFontResourceEx or
AddFontMemResourceEx which is what is used to load fonts embedded in PDF
documents and other such things. I should think it will be fairly simple
to do.
Pat Thoyts
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iQCVAwUBScq6umB90JXwhOSJAQKZiQP9GX2RWfT+xlTYgGtqouzmMnf3GmbLxQCX
X/AQXXiwmzzFJvHgNUbAGZKFtwq7dix7W5IDrwyCWABaQRy10RQepRaEvbDheXVn
s515npjLE3lfJS0+E9of5Cb5MUdJQibQST0GQdez8LdGqaRu2RKR7zak4zgph5yL
YZ76t9a/AW8=
=7O6g
-----END PGP SIGNATURE-----
------------------------------------------------------------------------------
_______________________________________________
Tcl-Core mailing list
Tcl-...@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tcl-core