Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.postscript > #1455 > unrolled thread

makefont matrix

Started byCecil Westerhof <Cecil@decebal.nl>
First post2013-07-16 03:10 +0200
Last post2013-07-17 18:23 -0700
Articles 5 — 3 participants

Back to article view | Back to comp.lang.postscript


Contents

  makefont matrix Cecil Westerhof <Cecil@decebal.nl> - 2013-07-16 03:10 +0200
    Re: makefont matrix luser- -droog <mijoryx@yahoo.com> - 2013-07-15 19:58 -0700
    Re: makefont matrix John Deubert <john@acumentraining.com> - 2013-07-16 16:20 -0700
      Re: makefont matrix Cecil Westerhof <Cecil@decebal.nl> - 2013-07-17 09:51 +0200
        Re: makefont matrix luser- -droog <mijoryx@yahoo.com> - 2013-07-17 18:23 -0700

#1455 — makefont matrix

FromCecil Westerhof <Cecil@decebal.nl>
Date2013-07-16 03:10 +0200
Subjectmakefont matrix
Message-ID<87ppujb98r.fsf@Aspire.decebal.nl>
Makefont uses an array of six values. The first value is the font
width, the fourth the font height and the third the oblique angle.
What are the second, fifth and sixth values for?

-- 
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof

[toc] | [next] | [standalone]


#1457

Fromluser- -droog <mijoryx@yahoo.com>
Date2013-07-15 19:58 -0700
Message-ID<bcad4a48-469b-4878-bb8a-0a4a06f5b769@googlegroups.com>
In reply to#1455
On Monday, July 15, 2013 8:10:12 PM UTC-5, Cecil Westerhof wrote:
> Makefont uses an array of six values. The first value is the font
> 
> width, the fourth the font height and the third the oblique angle.
> 
> What are the second, fifth and sixth values for?
> 

It's the same affine transformation matrix postscript uses for everything.

[ a b c d tx ty ]

==>

  | a  b  0 |
  | c  d  0 |
  | tx ty 1 |

==>

 x' = a*x + c*y + tx
 y' = b*x + d*y + ty

The second is the *other* skew value (affecting y, depending on x). 
And the fifth and sixth are translation, not used in a font, AFAIK.

[toc] | [prev] | [next] | [standalone]


#1461

FromJohn Deubert <john@acumentraining.com>
Date2013-07-16 16:20 -0700
Message-ID<2013071616200538681-john@acumentrainingcom>
In reply to#1455
On 2013-07-16 01:10:12 +0000, Cecil Westerhof said:

> Makefont uses an array of six values. The first value is the font
> width, the fourth the font height and the third the oblique angle.
> What are the second, fifth and sixth values for?

You might find the August 2006 issue of the Acumen Journal useful. Its 
PostScript article describes makefont in a bit of detail.

The Journal is free for the downloading at

	www.acumentraining.com/acumenjournal.html



-- 
========
John Deubert
Acumen Training
PostScript & PDF Engineering Classes & Consulting
www.acumentraining.com

Learn PostScript programming techniques
Read the free Acumen Journal
acumentraining.com/acumenjournal.html

[toc] | [prev] | [next] | [standalone]


#1464

FromCecil Westerhof <Cecil@decebal.nl>
Date2013-07-17 09:51 +0200
Message-ID<874nbtbp4k.fsf@Aspire.decebal.nl>
In reply to#1461
Op woensdag 17 jul 2013 01:20 CEST schreef John Deubert:

> On 2013-07-16 01:10:12 +0000, Cecil Westerhof said:
>
>> Makefont uses an array of six values. The first value is the font
>> width, the fourth the font height and the third the oblique angle.
>> What are the second, fifth and sixth values for?
>
> You might find the August 2006 issue of the Acumen Journal useful.
> Its PostScript article describes makefont in a bit of detail.
>
> The Journal is free for the downloading at
>
> 	www.acumentraining.com/acumenjournal.html

I'll look into it.

-- 
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof

[toc] | [prev] | [next] | [standalone]


#1472

Fromluser- -droog <mijoryx@yahoo.com>
Date2013-07-17 18:23 -0700
Message-ID<c9cfe4bd-cfe4-4a25-a60e-a56a7eacff60@googlegroups.com>
In reply to#1464
On Wednesday, July 17, 2013 2:51:39 AM UTC-5, Cecil Westerhof wrote:

> I'll look into it.

Cecil, by the way. Some of your questions would work fine on
stackoverflow. Not that they're bad here or anything. But 
some of your questions might be interesting (or answerable)
by a larger (or just different) audience.

Sometimes usenet can get a bit chatty, and stackoverflow
excels at keeping the topic more organized.

Just something to consider. $.02

-- 
josh

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.postscript


csiph-web