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

Ilya Zakharevich nospam-abuse at ilyaz.org
Tue May 6 16:30:25 CDT 2014


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
EOB

What do people use in “real life” applications?

Thanks,
Ilya

P.S.  Plug: this is used to create a «merged DejaVu + beautified-Unifont» font
  http://ilyaz.org/fonts


More information about the Unicode mailing list