Skip to content

Commit

Permalink
Release 32.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
be5invis committed Nov 2, 2024
1 parent 3463794 commit 5ff5250
Show file tree
Hide file tree
Showing 218 changed files with 15,874 additions and 13,649 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@iosevka/website",
"private": true,
"version": "31.9.1",
"version": "32.0.0",
"scripts": {
"dev": "next",
"start": "next start",
Expand Down
6 changes: 5 additions & 1 deletion pages/specimen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -593,7 +593,7 @@ type SpecimenCharacterImplProps = SpecimenCharacterProps & {
function SpecimenCharacterImpl(props: SpecimenCharacterImplProps) {
const pCtx = useContext(SpecimenContext);
const gc = unicodeGcMap.get(props.char.lch) || "?";
const isMark = props.char.inFont && gc === "Nonspacing_Mark";
const isMark = charIsMark(props.char, gc);
const isSpace =
props.char.inFont &&
(gc === "Space_Separator" ||
Expand Down Expand Up @@ -673,6 +673,10 @@ function SpecimenCharacterImpl(props: SpecimenCharacterImplProps) {
);
}

function charIsMark(ch: Coverage.Character, gc: string) {
return ch.inFont && (gc === "Nonspacing_Mark" || ch.lch === 0x55f);
}

function formatUnicode(lch: number) {
return lch.toString(16).toUpperCase().padStart(4, "0");
}
Expand Down
Loading

0 comments on commit 5ff5250

Please sign in to comment.