Fixed the shaded glyphs. This only affects the "withfw-cc" variants so the version is not chagned.
This commit is contained in:
parent
708631e4f9
commit
4748c3e9a3
|
@ -232,15 +232,16 @@ symbol-block 'Block Shapes'
|
|||
local bottom font.hhea.descent
|
||||
local segx 6
|
||||
local segy 16
|
||||
foreach j [range 0 segx] : foreach k [range 0 segy] : if [fn j k] : begin
|
||||
local g : create-glyph : glyph-construction : foreach j [range 0 segx] : foreach k [range 0 segy] : if [fn j k] : begin
|
||||
start-from [mix 0 WIDTH (j / segx)] [mix bottom top (k / segy)]
|
||||
line-to [mix 0 WIDTH (j / segx)] [mix bottom top ((k + 1) / segy)]
|
||||
line-to [mix 0 WIDTH ((j + 1) / segx)] [mix bottom top ((k + 1) / segy)]
|
||||
line-to [mix 0 WIDTH ((j + 1) / segx)] [mix bottom top (k / segy)]
|
||||
include g
|
||||
if (FULLWIDTH > WIDTH) : begin
|
||||
local cc this.contours
|
||||
apply-transform : Translate (FULLWIDTH - WIDTH) 0
|
||||
include cc
|
||||
include g
|
||||
create-glyph 'lightshade' : glyph-construction
|
||||
set-width FULLWIDTH
|
||||
assign-unicode 0x2591
|
||||
|
|
Loading…
Reference in New Issue
Block a user