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


Groups > comp.lang.postscript > #1839

Re: How 'thick' is a glyph?

From Mark Carroll <mtbc@bcs.org>
Newsgroups comp.lang.postscript
Subject Re: How 'thick' is a glyph?
Date 2014-03-29 17:44 +0000
Organization none
Message-ID <87lhvsdhmz.fsf@ixod.org> (permalink)
References <e6b8d0d6-4596-46fc-a95a-7b779e46b4b5@googlegroups.com>

Show all headers | View raw


jdaw1 <jdawiseman@gmail.com> writes:

> How big does the first setlinewidth need to be, to cover the whole
> character? That is, how thick is the font?

If I'm understanding you correctly at all, then one thing you /could/
do, is use charpath to get the outline of a capital I, flattenpath to
turn that to line segments, sort the segments by height, and for the
segments that intersect the vertical midpoint, find the leftmost and
rightmost points. Hopefully there's a better solution coming from
somebody else though.

-- Mark

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


Thread

How 'thick' is a glyph? jdaw1 <jdawiseman@gmail.com> - 2014-03-29 10:27 -0700
  Re: How 'thick' is a glyph? Mark Carroll <mtbc@bcs.org> - 2014-03-29 17:44 +0000
    Re: How 'thick' is a glyph? jdaw1 <jdawiseman@gmail.com> - 2014-03-29 13:07 -0700
  Re: How 'thick' is a glyph? jdaw1 <jdawiseman@gmail.com> - 2014-03-31 02:38 -0700
    Re: How 'thick' is a glyph? jdaw1 <jdawiseman@gmail.com> - 2014-03-31 16:36 -0700
      Re: How 'thick' is a glyph? jdaw1 <jdawiseman@gmail.com> - 2015-04-07 04:25 -0700
        Re: How 'thick' is a glyph? jdaw1 <jdawiseman@gmail.com> - 2015-04-07 04:27 -0700
  Re: How 'thick' is a glyph? jdaw1 <jdawiseman@gmail.com> - 2014-04-06 16:00 -0700

csiph-web