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


Groups > comp.lang.postscript > #2750

Re: findfont vs selectfont

From Carlos <angus@quovadis.com.ar>
Newsgroups comp.lang.postscript
Subject Re: findfont vs selectfont
Date 2016-08-11 17:05 +0200
Organization A noiseless patient Spider
Message-ID <noi472$b7k$1@dont-email.me> (permalink)
References <i8s9uu$5kd$1@news-a.stw-bonn.de> <31807400-680f-4f6f-a96d-3a79e79d474d@googlegroups.com>

Show all headers | View raw


On 11/08/2016 13:39, jdaw1 wrote:
> It could be that ‘/Helvetica 10 selectfont’ checks whether the
> current font is Helvetica 10, and only if it isn’t does it do the ‘…
> findfont … scalefont setfont’. That alone might remove from the
> execution time many instances, perhaps many many instances, of
> ‘findfont’.
>

Does this mean there is a simple way to get the current font size? What 
is it?

(The "not simple" way would be dividing the y component of the current 
font matrix by the one of the original font.)

-- 

Back to comp.lang.postscript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Re: findfont vs selectfont jdaw1 <jdawiseman@gmail.com> - 2016-08-11 04:39 -0700
  Re: findfont vs selectfont Carlos <angus@quovadis.com.ar> - 2016-08-11 17:05 +0200
    Re: findfont vs selectfont jdaw1 <jdawiseman@gmail.com> - 2016-08-12 02:28 -0700
      Re: findfont vs selectfont Carlos <angus@quovadis.com.ar> - 2016-08-12 12:26 +0200
        Re: findfont vs selectfont ken <ken@spamcop.net> - 2016-08-12 11:36 +0100
          Re: findfont vs selectfont Carlos <angus@quovadis.com.ar> - 2016-08-12 16:17 +0200
            Re: findfont vs selectfont ken <ken@spamcop.net> - 2016-08-12 15:53 +0100
              Re: findfont vs selectfont luser droog <luser.droog@gmail.com> - 2016-08-12 14:09 -0700

csiph-web