Skip to content

Commit

Permalink
Release 13.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
be5invis committed Feb 12, 2022
2 parents 07abba3 + 6730a7f commit 174dff1
Show file tree
Hide file tree
Showing 1,597 changed files with 1,518 additions and 1,521 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
## Modifications since version 2.x

### 13.3.1

* Fix geometry of reversed comma under heavy italic (#1292).
* Fix alignment of motion serif in v when squished (#1293).
* Fix geometry of "Ӊ", "ӊ", "Ӎ" , and "ӎ" (#1295).


### 11.3.0

* Add Characters
Expand Down
2 changes: 1 addition & 1 deletion LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright 2015-2021, Renzhi Li (aka. Belleve Invis, [email protected])
Copyright (c) 2015-2022, Renzhi Li (aka. Belleve Invis, [email protected])

This Font Software is licensed under the SIL Open Font License, Version 1.1.

Expand Down
3 changes: 3 additions & 0 deletions changes/13.3.1.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
* Fix geometry of reversed comma under heavy italic (#1292).
* Fix alignment of motion serif in v when squished (#1293).
* Fix geometry of "Ӊ", "ӊ", "Ӎ" , and "ӎ" (#1295).
282 changes: 141 additions & 141 deletions doc/PACKAGE-LIST.md

Large diffs are not rendered by default.

1,556 changes: 778 additions & 778 deletions doc/character-variants.md

Large diffs are not rendered by default.

208 changes: 104 additions & 104 deletions doc/custom-build.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion font-src/gen/caching/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const fs = require("fs-extra");
const zlib = require("zlib");
const { encode, decode } = require("@msgpack/msgpack");

const Edition = 12;
const Edition = 13;
const MAX_AGE = 5;

class GfEntry {
Expand Down
20 changes: 11 additions & 9 deletions font-src/glyphs/auto-build/composite.ptl
Original file line number Diff line number Diff line change
Expand Up @@ -885,9 +885,9 @@ glyph-block Autobuild-Fractions : begin
applyRelations jobs.relApplications


define [FractionLayout fine scaleFactor closing] : begin
define [FractionLayout letterHeight fine scaleFactor closing] : begin
define dist : XH * (1 - scaleFactor - closing)
define partOffsetY : CAP * scaleFactor + dist
define partOffsetY : letterHeight * scaleFactor + dist

return : object
crowd : begin 3.5
Expand Down Expand Up @@ -920,8 +920,9 @@ glyph-block Autobuild-Fractions : begin
set-width 0
set-mark-anchor 'fracBuildUp' 0 0 offset (-(CAP * scaleFactor + gap))

define [createFractions records] : createFracImpl 'frac' records : FractionLayout [AdviceStroke 3] 0.55 0.05
define [createPowerlineStacks records] : createFracImpl 'pwlStack' records : FractionLayout 0 0.6 0.15
define [createFractions records] : createFracImpl 'frac' records : FractionLayout CAP [AdviceStroke 3] 0.55 0.05
define [createPowerlineStacks records] : createFracImpl 'pwlStack' records : FractionLayout CAP 0 0.6 0.15
define [createFractionsSmall records] : createFracImpl 'fracSmall' records : FractionLayout XH [AdviceStroke 3] 0.55 0.05
define [createControlPictures2 records] : createFracImpl 'ctrlPict2' records : ControlPictureLayout 3.75 0.55 0.2
define [createControlPictures3 records] : createFracImpl 'ctrlPict3' records : ControlPictureLayout 5 0.375 0.1

Expand All @@ -945,12 +946,13 @@ glyph-block Autobuild-Fractions : begin
list 0x215D { 'five.lnum' 'eight.lnum' }
list 0x215E { 'seven.lnum' 'eight.lnum' }
list 0x2189 { 'zero.lnum' 'three.lnum' }
# care-of
list 0x2100 { 'largescripta' 'C' }
list 0x2101 { 'largescripta' 'S' }
list 0x214D { 'A' 'S' }
list 0x2105 { 'C' 'O' }
list 0x2106 { 'C' 'U' }

createFractionsSmall : list
list 0x2100 { 'a' 'c' }
list 0x2101 { 'a' 's' }
list 0x2105 { 'c' 'o' }
list 0x2106 { 'c' 'u' }

createPowerlineStacks : list
# Powerline LN symbol
Expand Down
55 changes: 31 additions & 24 deletions font-src/glyphs/letter/latin/v.ptl
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,13 @@ glyph-block Letter-Latin-V : begin
define dgCor : DiagCor top (Width / 2) 0 (sw * 2)
define clearance : 0 - OX

local sbScale : if barStraight StraightSbShrink 1
define vxStartL : df.leftSB * sbScale + clearance
define vxEndL : df.middle - cornerHW + clearance
define vxStartR : df.width - df.leftSB * sbScale - clearance
define vxEndR : df.middle + cornerHW - clearance

if barStraight : do
define vxStartL : df.leftSB * StraightSbShrink + clearance
define vxEndL : df.middle - cornerHW + clearance
define vxStartR : df.width - df.leftSB * StraightSbShrink - clearance
define vxEndR : df.middle + cornerHW - clearance
include : spiro-outline
flat [mix vxStartL vxEndL 0] [mix top 0 0]
curl [mix vxStartL vxEndL pInktrap] [mix top 0 pInktrap]
Expand All @@ -43,10 +45,6 @@ glyph-block Letter-Latin-V : begin
flat [mix vxStartR vxEndR pInktrap] [mix top 0 pInktrap]
curl [mix vxStartR vxEndR 0] [mix top 0 0]
: else : do
define vxStartL : df.leftSB + clearance
define vxEndL : df.middle - cornerHW + clearance
define vxStartR : df.width - df.leftSB - clearance
define vxEndR : df.middle + cornerHW - clearance
include : spiro-outline
flat vxStartL top
curl vxStartL [VShapeTopFlat top]
Expand All @@ -68,11 +66,14 @@ glyph-block Letter-Latin-V : begin
define cornerHW : VCornerHalfWidth * sw / Stroke
define fine : Math.min sw : if barStraight VShapeFineStraight VShapeFine
define dgCor : DiagCor (2 * top) Width 0 (2 * sw)

local sbScale : if barStraight StraightSbShrink 1
define vxStartL : df.leftSB * sbScale
define vxEndL : df.middle - cornerHW
define vxStartR : df.width - df.leftSB * sbScale
define vxEndR : df.middle + cornerHW

if barStraight : do
define vxStartL : df.leftSB * StraightSbShrink
define vxEndL : df.middle - cornerHW
define vxStartR : df.width - df.leftSB * StraightSbShrink
define vxEndR : df.middle + cornerHW
define midSW : dgCor * VShapeMiddleWidth / Stroke * sw
include : tagged 'strokeDown' : dispiro
widths.lhs (sw * dgCor)
Expand All @@ -87,14 +88,14 @@ glyph-block Letter-Latin-V : begin
: else : do
include : tagged 'strokeDown' : dispiro
widths.lhs sw
flat df.leftSB top [heading Downward]
curl df.leftSB [VShapeTopFlat top] [heading Downward]
flat vxStartL top [heading Downward]
curl vxStartL [VShapeTopFlat top] [heading Downward]
quadControls 0 VCurviness 9 unimportant
g4 (df.middle - cornerHW) 0 [widths.lhs fine]
include : tagged 'strokeUp' : dispiro
widths.rhs sw
flat df.rightSB top [heading Downward]
curl df.rightSB [VShapeTopFlat top] [heading Downward]
flat vxStartR top [heading Downward]
curl vxStartR [VShapeTopFlat top] [heading Downward]
quadControls 0 VCurviness 9 unimportant
g4 (df.middle + cornerHW) 0 [widths.rhs fine]

Expand Down Expand Up @@ -130,10 +131,16 @@ glyph-block Letter-Latin-V : begin
quadControls 0.4 0.75 64 unimportant
g4 (Middle + VCornerHalfWidth) 0 [widths.rhs VShapeFine]

define [VSerifs top] : let [sf : SerifFrame top 0 SB RightSB] : begin
NeedSlab SLAB : composite-proc sf.lt.full sf.rt.full
define [VMotionSerifs top] : let [sf : SerifFrame top 0 SB RightSB] : begin
composite-proc sf.lt.outer
define [VSerifs df top barStraight] : begin
local sbScale : if barStraight StraightSbShrink 1
local sbOffset : if barStraight (OX * [StrokeWidthBlend 1 2]) 0
local sf : SerifFrame top 0 (df.leftSB * sbScale - sbOffset) (df.width - df.leftSB * sbScale + sbOffset)
return : NeedSlab SLAB : composite-proc sf.lt.full sf.rt.full
define [VMotionSerifs df top barStraight] : begin
local sbScale : if barStraight StraightSbShrink 1
local sbOffset : if barStraight (OX * [StrokeWidthBlend 1 2]) 0
local sf : SerifFrame top 0 (df.leftSB * sbScale - sbOffset) (df.width - df.leftSB * sbScale + sbOffset)
return : composite-proc sf.lt.outer

define VStandardConfig : object
straight { VSerifs true }
Expand All @@ -145,23 +152,23 @@ glyph-block Letter-Latin-V : begin
create-glyph "V.\(suffix)" : glyph-proc
include : MarkSet.capital
include : VShape [DivFrame 1] CAP Stroke fStraightBar
include : Serifs CAP
include : Serifs [DivFrame 1] CAP fStraightBar

create-glyph "v.\(suffix)" : glyph-proc
include : MarkSet.e
include : VShape [DivFrame 1] XH Stroke fStraightBar
include : Serifs XH
include : Serifs [DivFrame 1] XH fStraightBar

create-glyph "VHookTop.\(suffix)" : glyph-proc
include : MarkSet.capital
include : VHooktopShape [DivFrame 1] fStraightBar CAP
include : Serifs CAP
include : Serifs [DivFrame 1] CAP fStraightBar
eject-contour 'serifRT'

create-glyph "vHookTop.\(suffix)" : glyph-proc
include : MarkSet.e
include : VHooktopShape [DivFrame 1] fStraightBar XH
include : Serifs XH
include : Serifs [DivFrame 1] XH fStraightBar
eject-contour 'serifRT'

create-glyph 'v.cursive' : glyph-proc
Expand Down
Loading

0 comments on commit 174dff1

Please sign in to comment.