Unicode ranges with baseline/x-height/X-height

From: Ilya Zakharevich <nospam-abuse_at_ilyaz.org>
Date: Tue, 6 May 2014 14:30:25 -0700

For the purpose of drawing characters from a secondary, substitution
font, one must know whether one must rescale bbox to bbox, or X-height
to X-height etc. Currently I use a very brain-damaged do-it-quickly
scheme (only BMP matters so far):

my $nobaseline_blocks = <<EOB; # Do not need alignment on baseline; align on bounding box
Controls 0000..001f
Controls 007f..009f
Devanagari — Myanmar 0900...109f
Arrows 21d0-21ff
Pieces etc 231c-2321
Pieces, terminal 239b-23bd
extension 23d0-23d0
Control Pictures 2400..243F
Enclosed, Box, Block 2460-259f
Dingbats 2700..27BF
Arrows+Braille 27F0..297F
Symb+Arrows 2B00..2BFF
Hangul Compatibility Jamo — Vai 3130..A63F
Syloti Nagri — Hangul Jamo Extended-B A800..D7FF
CJK Compatibility Ideographs F900..FAFF
CJK Compatibility Forms FE30..FE4F

What do people use in “real life” applications?


P.S. Plug: this is used to create a «merged DejaVu + beautified-Unifont» font
Unicode mailing list
Received on Tue May 06 2014 - 16:31:55 CDT

This archive was generated by hypermail 2.2.0 : Tue May 06 2014 - 16:31:55 CDT