delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2012/03/09/19:37:06

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
Subject: Re: [geda-user] Text formatting
From: Stefan Salewski <mail AT ssalewski DOT de>
To: geda-user AT delorie DOT com
In-Reply-To: <1331337138.10630.1@kwak>
References: <1331337138 DOT 10630 DOT 1 AT kwak>
Date: Sat, 10 Mar 2012 01:36:19 +0100
Message-ID: <1331339779.2533.43.camel@AMD64X2.fritz.box>
Mime-Version: 1.0
X-Mailer: Evolution 2.32.3
Reply-To: geda-user AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: geda-user AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Sat, 2012-03-10 at 00:52 +0100, Kai-Martin wrote:
> 
> > How can we add this, without breaking existing code?
> 
> My favorite: Add the ability to parse and render latex commands.

I am unsure again...

When looking at the fine PDF of Wojciech Kazubski I thought: Yes, we
should have subscript. But after a more detailed look: Can a schematic
editor really make complete beautiful graphics, or will always something
be missing? For the later case, post-processing with tools like inkscape
may be the better choice, and we should concentrate on good SVG output.
(Indeed, for making graphics for papers and text books, inkscape may be
the one and only tool? When no simulation or board generation is
desired.) I am not sure if gschem can generate SVG at all currently, but
it should be easy, as cairo supports it.

Pango should be able to render basic text attributes, and it has its own
simple markup tags

http://developer.gnome.org/pango/stable/PangoMarkupFormat.html

So the pango way should be very easy and would work for all cairo output
formats like Screen, PNG, PDF, SVG, PostScript...

For LaTeX I have no idea how it may work. For me it was already a non
trivial task to get the overbar (overline in LaTeX), because that is not
native supported by Pango...

Do you know which text attributes inkscape supports, and how input is
done? I know you are using it, and do not complain about 5 seconds of
startup time as some do...

Best regards

Stefan Salewski


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019