[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: gEDA-user: Tabs print weird in schematics
Hi,
On Tue, 2007-03-13 at 14:26 -0700, Matt Ettus wrote:
> If I put tabs in text in a schematic, it shows up fine on the screen.
> However, it prints funny -- the Tabs come out as Y's with 2 dots on
> top.
Indeed, the position for 'Horizontal Tab' in the ISOLatin1Extended
mapping table from the prolog generates '/Ydieresis'. Which is a 'Y'
with dots on it.
When I upgraded the PostScript output I did nothing special for tabs.
As far as I know postscript itself has no notion of what a tab is.
>
> Is there a fix for this?
Sort of, vector text should render correctly.
For the nice postscript fonts, not currently, but I have two strategies
that could fix it:
1) Add code into prolog.ps that traps tab characters and has the
printer do the right thing. (con: reduces the number of international
characters that can be used on a schematic. pro:overbars covering tabs
will render automagically)
2) Add code into f_print_text() (and friends) that traps the tabs and
makes one print command per tab separated section. (con: Overbars might
be a bit of trouble to get working when they extend over a tab. pro:
does not reduce the number of international characters.)
I think that I favour #1, but I have to think carefully about what
happens when someone actually wants to put a /Ydieresis in their
schematic...
--
--------------------------------------------------
Mike Jarabek
FPGA/ASIC Designer, DSP Firmware Designer
http://www.sentex.ca/~mjarabek
--------------------------------------------------
_______________________________________________
geda-user mailing list
geda-user@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user