From: Thomas J. D. <to...@fi...> - 2005-05-09 17:01:05
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, Hazen: You will need to be aware of this. I have made a change to plP_text in the core with regards to how it handles unicode text. This was necessary to get the plot buffering working correctly. Previously, the coordinates of the unicode text were not being put through the driver interface filter. Because of this, some drivers compensated by applying the driver interface filter themselves. For the plot buffer to work correctly for all output devices, the driver interface filter must be applied consistently, and so I have added the appropriate code to plP_text. There are consequences for a few of the drivers. In ps.c, I removed the lines /* Apply plplot difilt transformations */ difilt(&args->x, &args->y, 1, &clxmin, &clxmax, &clymin, &clymax); which are no longer needed. Note that the difilt operation for the clipping is still used. The only other driver that I see that has similar lines is the AQUATERM driver. I leave it to Hazen to remove the offending lines, because I cannot test the results. Should any problem arise, please let me know. I have tested both the ps and gd drivers, and both appear to be working correctly. Note that the change can only affect unicode-enabled drivers. From the GCW driver, the plot-buffer saved result now matches that from the raw psc device. Excellent! Cheers, Tom - -- Thomas J. Duck <to...@fi...> Department of Physics and Atmospheric Science, Dalhousie University, Halifax, Nova Scotia, Canada, B3H 3J5. Tel: (902)494-1456 | Fax: (902)494-5191 | Lab: (902)494-3813 Web: http://aolab.phys.dal.ca/~tomduck/ Public key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x17D965DB -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFCf5UDndxDHhfZZdsRAvX6AKCTSnzzzAQBUyOIHiIFVphfj6bYvACgn26n Qyt9mWvbpaXKnB4wZ7TtAMg= =iyq0 -----END PGP SIGNATURE----- |