Re: [racket-users] Font bearing - lining up texts and outlines

2020-07-21 Thread Matthew Butterick
The `fontland` library does not have an official public API but it will give you the answer, which is 1446. #lang racket (require fontland fontland/ttf-glyph) (define f (open-font "/System/Library/Fonts/Supplemental/Arial Unicode.ttf")) ;; `layout` uses OpenType positioning & substitution tables

Re: [racket-users] Font bearing - lining up texts and outlines

2020-07-21 Thread Jens Axel Søgaard
Den man. 20. jul. 2020 kl. 19.14 skrev Jens Axel Søgaard < jensa...@soegaard.net>: > Thanks for the response. > > I have attempted to go in your foot steps and have made a single file > example, so it is easy to try out. > Just to recap, the goal is to get the vertical bearing. > > The first step