Re: metapost plugin
- From: Chris Sperandio <sperandi eng usf edu>
- To: dia-list <dia-list gnome org>
- Subject: Re: metapost plugin
- Date: 13 Sep 2001 01:26:47 -0400
On Tue, 2001-09-11 at 03:59, Cyrille Chepelov wrote:
Le mar, sep 11, 2001, à 02:33:50 -0400, Chris Sperandio a écrit:
I've hacked together a metapost output plugin. I'm too dumb to figure
out how to use cvs to build the patch.
It's incomplete, unfortunately, but it does a lot.
Looks mostly good (I haven't actually compiled it). One issue and two
questions:
* you need to add your copyright and a summary of your changes to
the first comment block, in order to comply with the GPL.
Which changes? Those made to the original pstricks plug-in?
* What happens if I run a diagram through your plug-in, and the text
strings are using ISO-8859-1 diacritics ? If the text does not use the Latin
alphabet at all (think Greek, Russian, Japanese, etc.), and thus is not even
8859-1 ?
* What happens if I pass an UTF-8 encoded string to ->draw_string() ?
(I should not do that for the moment -- this interface is local charset for
the time being. Basically, this question boils down to: do you do anything
resembling
for (char *p = str; *p; p++) do_something(*p);
?)
Sorry, these are a little out of field. I write embedded DSP code for a
living and really don't know much about locales/charsets, but I'll take
a look.
The issue is a blocker, but is trivial to fix. The questions are just to
assess the amount of work needed to make that module happy when we flip the
UNICODE_WORK_IN_PROGRESS switch.
-- Cyrille
Thanks.
Chris
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]