Changeset 46cd512 in git


Ignore:
Timestamp:
15/06/10 07:14:11 (9 years ago)
Author:
Olly Betts <olly@…>
Branches:
add-show-splays, line_contents, master, stereo, svn/github/master, svn/origin/master, svn/survex-1_1, svn/tags/1.1.14, svn/tags/1.1.15, svn/tags/1.1.16, svn/tags/1.2.0, svn/tags/1.2.1, svn/tags/1.2.2, svn/tags/1.2.3, svn/tags/1.2.4, svn/tags/1.2.5, svn/tags/v1_1_13, svn/trunk, travis-osx
Children:
7c7cffd
Parents:
233995e
Message:

lib/afm2txf.pl: Fix alignment of characters, backported from PLIB
SVN.

git-svn-id: file:///home/survex-svn/survex/branches/survex-1_1@3410 4b37db11-9a0c-4f06-9ece-9ab7cdaee568

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • ChangeLog

    r233995e r46cd512  
     1Tue Jun 15 06:13:30 GMT 2010  Olly Betts <olly@survex.com>
     2
     3        * lib/afm2txf.pl: Fix alignment of characters, backported from PLIB
     4          SVN.
     5
    16Tue Jun 15 05:05:05 GMT 2010  Olly Betts <olly@survex.com>
    27
  • lib/afm2txf.pl

    r233995e r46cd512  
    202202    my $w = round($m->[3] * $LINEHGT * $TEXSIZ + 2*$PADDING);
    203203    my $h = round($m->[4] * $LINEHGT * $TEXSIZ + 2*$PADDING);
    204     my $xoff = -round($m->[1] * $LINEHGT * $TEXSIZ - $PADDING);
    205     my $yoff = -round($m->[2] * $LINEHGT * $TEXSIZ - $PADDING);
     204    my $xoff = -round($m->[1] * $LINEHGT * $TEXSIZ) - $PADDING;
     205    my $yoff = -round($m->[2] * $LINEHGT * $TEXSIZ) - $PADDING;
    206206    my $x = round($p->[0] * $TEXSIZ - $PADDING);
    207207    my $y = round($p->[1] * $TEXSIZ - $PADDING);
Note: See TracChangeset for help on using the changeset viewer.