Skip to content

Add Saudi riyal, UAE dirham and Omani rial signs - #912

Open
romashamin wants to merge 1 commit into
rsms:masterfrom
romashamin:add-gulf-currency-signs
Open

romashamin wants to merge 1 commit into
rsms:masterfrom
romashamin:add-gulf-currency-signs

Conversation

@romashamin

Copy link
Copy Markdown

Adds the three new Gulf currency signs to Inter, roman and italic:

Glyph Code point Production name Unicode
riyalSaudi U+20C1 SAUDI RIYAL SIGN uni20C1 17.0
dirham U+20C3 UAE DIRHAM SIGN uni20C3 18.0
rialOmani U+20C4 OMANI RIAL SIGN uni20C4 18.0

Resolves #902 and #874.

What's in this PR

  • The three glyphs in Inter-Roman.glyphspackage and Inter-Italic.glyphspackage, drawn in all six masters (Thin, Regular and Black, Text and Display), so they interpolate across the full opsz and wght ranges.
  • Glyph names follow Glyphs' own glyph data (riyalSaudi, dirham, rialOmani). Production names are set explicitly, since the glyph data bundled with glyphsLib doesn't know these code points yet.
  • Kerning between the signs and the T, V, W, Y, D, one, seven and nine groups, the same pairs in roman and italic.
  • The glyphs sit next to eurocurrency and somsign in the glyph order.

No other glyphs, features or font info are changed.

Design

The signs follow the published central bank guidelines:

Samples

All three signs from Thin to Black, Text and Display, roman and italic:

Signs across weights and optical sizes

Kerning on (black) and off (red):

Kerning samples

Testing

  • make clean && make -j all builds without errors.
  • make -j test passes: fontbakery reports 0 errors and 0 failures for the variable, text and display fonts; its warnings are the existing ones and none involve the new glyphs.

🤖 Generated with Claude Code

Adds U+20C1 SAUDI RIYAL SIGN, U+20C3 UAE DIRHAM SIGN and U+20C4 OMANI
RIAL SIGN to the roman and italic sources, in all masters, with kerning
against the T, V, W, Y, D, one, seven and nine groups.

Resolves rsms#902.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Currency symbol fix

1 participant