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


Groups > comp.lang.postscript > #1839

Re: How 'thick' is a glyph?

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.freenet.ag!news.babsi.de!open-news-network.org!news2.open-news-network.org!.POSTED!not-for-mail
From Mark Carroll <mtbc@bcs.org>
Newsgroups comp.lang.postscript
Subject Re: How 'thick' is a glyph?
Date Sat, 29 Mar 2014 17:44:20 +0000
Organization none
Lines 13
Message-ID <87lhvsdhmz.fsf@ixod.org> (permalink)
References <e6b8d0d6-4596-46fc-a95a-7b779e46b4b5@googlegroups.com>
NNTP-Posting-Host home.ixod.org
Mime-Version 1.0
Content-Type text/plain; charset=us-ascii
X-Trace news2.open-news-network.org 1396115060 9850 82.71.47.217 (29 Mar 2014 17:44:20 GMT)
X-Complaints-To abuse@open-news-network.org
NNTP-Posting-Date Sat, 29 Mar 2014 17:44:20 +0000 (UTC)
User-Agent Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux)
Cancel-Lock sha1:vhmQqqM/3mlfTRP5fo+OwQOSZfQ=
Xref csiph.com comp.lang.postscript:1839

Show key headers only | 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