Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

You might have mail.


devel / comp.fonts / Truetype and Opentype outline restrictions?

SubjectAuthor
o Truetype and Opentype outline restrictions?Kevin Rogovin

1
Truetype and Opentype outline restrictions?

<666ee89b-097b-4851-91de-c08f3b761fbcn@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=13&group=comp.fonts#13

  copy link   Newsgroups: comp.fonts
X-Received: by 2002:a05:620a:818:: with SMTP id s24mr28263830qks.395.1635847851438;
Tue, 02 Nov 2021 03:10:51 -0700 (PDT)
X-Received: by 2002:a25:d4d5:: with SMTP id m204mr3292046ybf.418.1635847851087;
Tue, 02 Nov 2021 03:10:51 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.fonts
Date: Tue, 2 Nov 2021 03:10:50 -0700 (PDT)
Injection-Info: google-groups.googlegroups.com; posting-host=3.88.118.15; posting-account=3xkzJgoAAACCxAh-Vb4Hg0FWWJbvBg53
NNTP-Posting-Host: 3.88.118.15
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <666ee89b-097b-4851-91de-c08f3b761fbcn@googlegroups.com>
Subject: Truetype and Opentype outline restrictions?
From: kevinrog...@invisionapp.com (Kevin Rogovin)
Injection-Date: Tue, 02 Nov 2021 10:10:51 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 25
 by: Kevin Rogovin - Tue, 2 Nov 2021 10:10 UTC

Hi,

I am thinking about writing (another) GPU glyph renderer. My usual jazz is that I do not make any assumptions on the nature of the contours of a scalable glyph: I just treat it as an arbitrary path fill. However, recently I have (another) glyph rendering idea and it requires some properties on the outlines (or rather without various restrictions, the complexity gets higher). With that in mind, my questions:

1. Is it legal for a contour of a font to self intersect? I.e. a single contour intersects itself?
2. If two contours intersect, are they guaranteed to be oriented the same way? i.e. they won't "cancel" their winding over the region of their interior?

I ask these questions because one part of the spec talks about computing a winding number and using the non-zero fill rule and another part talks about that contour orientation is that clockwise oriented contours encode empty space and counter-clockwise encode solid space.

If the contour's are somewhat separable, i.e. question 2, some issues go away...

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor