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 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> References: 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 jdaw1 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