Your message dated Fri, 07 Mar 2008 16:21:02 +0100
with message-id <[EMAIL PROTECTED]>
and subject line Re: Bug#264483: chemtool: superscript and subscript in SVG
aren't quite right
has caused the Debian Bug report #264483,
regarding chemtool: superscript and subscript in SVG aren't quite right
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [EMAIL PROTECTED]
immediately.)
--
264483: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=264483
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: chemtool
Version: 1.6.3-2.1
Severity: minor
Tags: patch
chemtool's SVG exporter tries to do super and subscript by adjusting
the Y offset of the text. Instead, it should use baseline-shift: sub
and super as appropriate.
-- System Information:
Debian Release: 3.1
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.7
Locale: LANG=C, LC_CTYPE=C
Versions of packages chemtool depends on:
ii libc6 2.3.2.ds1-15 GNU C Library: Shared libraries an
ii libglib1.2 1.2.10-9 The GLib library of C routines
ii libgtk1.2 1.2.10-17 The GIMP Toolkit set of widgets fo
ii libx11-6 4.3.0.dfsg.1-6 X Window System protocol client li
ii libxext6 4.3.0.dfsg.1-6 X Window System miscellaneous exte
ii libxi6 4.3.0.dfsg.1-6 X Window System Input extension li
ii transfig 1:3.2.5-alpha5-1 Utilities for converting XFig figu
ii xlibs 4.3.0.dfsg.1-6 X Window System client libraries m
-- no debconf information
diff -u chemtool-1.6.3/debian/changelog chemtool-1.6.3/debian/changelog
--- chemtool-1.6.3/debian/changelog
+++ chemtool-1.6.3/debian/changelog
@@ -1,3 +1,9 @@
+chemtool (1.6.3-2.1) unstable; urgency=low
+
+ * Use baseline-shift in SVG output.
+
+ -- Nicholas Lewycky <[EMAIL PROTECTED]> Sun, 8 Aug 2004 21:26:05 -0500
+
chemtool (1.6.3-2) unstable; urgency=low
* debian/menu (needs, section): Quote entries.
only in patch2:
unchanged:
--- chemtool-1.6.3.orig/inout.c
+++ chemtool-1.6.3/inout.c
@@ -2058,7 +2058,7 @@
}
else if (hp_a->c[i] == '_')
{
- fprintf (fp, "</tspan>\n<tspan y=\"%d\"
style=\"font-size:%dpt;\">", hp_a->y+10+hp_a->size, 8+hp_a->size*2);
+ fprintf (fp, "</tspan>\n<tspan
style=\"font-size:%dpt;baseline-shift:sub;\">", 8+hp_a->size*2);
if (hp_a->c[i + 1] && hp_a->c[i + 1] == '{')
{
shifted = 1;
@@ -2079,7 +2079,7 @@
}
else if (hp_a->c[i] == '^')
{
- fprintf (fp, "</tspan>\n<tspan y=\"%d\"
style=\"font-size:%dpt;\">", hp_a->y-hp_a->size, 8+hp_a->size*2);
+ fprintf (fp, "</tspan>\n<tspan
style=\"font-size:%dpt;baseline-shift:super;\">", 8+hp_a->size*2);
if (hp_a->c[i + 1] && hp_a->c[i + 1] == '{')
{
shifted = 1;
--- End Message ---
--- Begin Message ---
Am Freitag, den 07.03.2008, 00:40 -0800 schrieb Nick Lewycky:
> Daniel Leidert wrote:
> > Are there any existing problems with chemtools approach to adjust the
> > y-value? Is there something better to use (except baseshift)? Reading
> > several manuals, using the dy attribute seems to be ok for
> > subscripts/superscripts characters.
>
> Well, baseshift is fundamentally better in the sense that it describes
> what we actually want instead of how to achieve it,
FACK.
> but it Really Doesn't Matter.
Well upstream is still aware (talked to Martin Kroeker recently) and
just waits for inkscape to be fixed. So your request will not be lost.
> > Can we close this report?
>
> Sure.
I will do so. Upstream is aware of it and we do not really have a bug
here. Fell free to reopen this report some day if necessary.
Regards, Daniel
--- End Message ---