Article View: fj.lang.postscript
Article #795Re: does type1 use eofill only?
From: Joe Hecht
Date: Thu, 25 Apr 1996 00:00
Date: Thu, 25 Apr 1996 00:00
34 lines
1794 bytes
1794 bytes
LAO Shihong wrote: > > I want to convert some ps file to type1 > ps font. Now I encountered one problem: > As some of the pathes are crossed, after > I have converted it to type1 font, those > crossed parts are shown as white holes. > Does type1 font use eofill only? > > Are there any algorithmes can be used > to comvert those crossed pathes to outlines? > > Thanks in advance. Any advice will be appreciated. > Feel free to reply in Japanese, Chinese or English. > > ---- > LAO Shihong (Firstname is surname) Types 1's use the Non-Zero Winding Rule. In a nutshell, start with a count of zero, and outside the path. Now draw a invisable line through the path, and increment your count every time you cross a path outline that is traveling one direction, and decrement the count every time you cross a path that travels the other direction. Whenever the count is non-zero, you are inside the path, therefore it is filled. Hope that helps... Joe -- Joe C. Hecht Borland Delphi Developer Support Group http://www.borland.com
Technical Details
Message-ID:
<317F7B9F.3130@wpo.borland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<4lhfc1$cn9@omrongw2.wg.omron.co.jp>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f62f2,779d760b38fd0bd3 X-Google-Attributes: gidf62f2,public X-Google-Thread: fa2ca,779d760b38fd0bd3 X-Google-Attributes: gidfa2ca,public X-Google-Thread: 10a53f,779d760b38fd0bd3 X-Google-Attributes: gid10a53f,public From: Joe Hecht <jhecht@wpo.borland.com> Subject: Re: does type1 use eofill only? Date: 1996/04/25 Message-ID: <317F7B9F.3130@wpo.borland.com> X-Deja-AN: 151361291 references: <4lhfc1$cn9@omrongw2.wg.omron.co.jp> to: lao@wg.omron.co.jp content-type: text/plain; charset=us-ascii organization: Borland International, Inc. mime-version: 1.0 newsgroups: fj.lang.postscript,comp.lang.postscript,comp.font x-mailer: Mozilla 2.0 (Win95; I)