Skip to content

Commit

Permalink
Merge pull request #60 from intel/box-drawing-code-ligatures
Browse files Browse the repository at this point in the history
V1.4.0 Add box drawing glyphs and programming ligatures
  • Loading branch information
FredShallcrass committed Jul 26, 2024
2 parents 1bc31ea + c10dc0e commit 99e2d6c
Show file tree
Hide file tree
Showing 17,082 changed files with 261,803 additions and 124,754 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
6 changes: 3 additions & 3 deletions OFL.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Copyright 2023 Intel Corp. with Reserved Font Name 'Intel One Mono'
Copyright 2023-2024 The Intel One Mono Project Authors (https://github.com/intel/intel-one-mono), with Reserved Font Name 'Intel'

This Font Software is licensed under the SIL Open Font License, Version 1.1.
This license is copied below, and is also available with a FAQ at:
http://scripts.sil.org/OFL
This license is copied below, and is also available with a FAQ at:
https://scripts.sil.org/OFL


-----------------------------------------------------------
Expand Down
30 changes: 18 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,43 +29,49 @@ We recommend using these fonts at 7 points and larger in print, 9 pixels and lar

### Available OpenType Features
Outside of the default characters, there are a few extra features that are accessible in some applications, as well as via CSS:
- **Raised Colon:** there is an option for a raised colon, either applied contextually between numbers or activated generally. The contextual option is available via ss11 (Stylistic Set #11), or use ss12 (Stylistic Set #12) or salt (Stylistic Alternates) for the global switch. Also, the colon will automatically be raised in operators, to align with math symbols.
- **Language Support:** ccmp and locl features ensure correct display across a wide range of languages. These are usually activated by default. We recommend setting the language tag/setting in your software to the desired language for best results.
- **Superior/superscript and inferior/subscript figures** are included via their Unicode codepoints, or you can produce them from the default figures via the sups (Superscript), subs (Subscript), and si (Scientific Inferior) features.
- **Fraction numerals** are similarly available via the numr (Numerator) and dnom (Denominator) features. A set of premade fractions is also available in the fonts.
- **Programming Ligatures:** New in release 1.4, by popular demand. To use programming ligatures, activate the `ss01` feature (Stylistic Set #1). Additional refinements are available via `ss02` and `ss03`: Stylistic Set #2 switches the <= and >= combinations to arrow forms (math contractions being the default otherwise), and Stylistic Set #3 additionally activates a “www” ligature.
- **Raised Colon:** The colon is automatically raised in operators, to align with math symbols. For non-programming contexts, the raised colon can be applied contextually between numbers or activated generally. The contextual option is available via `ss11` (Stylistic Set #11); for the global switch use `ss12` (Stylistic Set #12) or `salt` (Stylistic Alternates).
- **Language Support:** `ccmp` and `locl` features ensure correct display across a wide range of languages. These are usually active by default. We recommend setting the language tag/setting in your software to the desired language for best results.
- **Superior/superscript and inferior/subscript figures** are included via their Unicode codepoints, or you can produce them from the default figures via the `sups` (Superscript) and `subs`/`sinf` (Subscript) features.
- **Fraction numerals** are similarly available via the `numr` (Numerator) and `dnom` (Denominator) features. A set of premade fractions is also available in the fonts.

### Activating Programming Ligatures in Code Editors
Programming ligatures are not active by default. To use them, activate the stylistic sets of your preference in your code editor. For example:
- VSCode - In Settings, add `"editor.fontLigatures": "'ss01'"`
- Sublime Text - In Settings, add `"font_options": ["ss01"]`

## Viewing and Editing Sources

### UFO Source Files: Instances
You will find editable sources in the sources directory. The instances subfolder contains separate source files for each style of the typeface. Sources are provided in .ufo files, which contain complete artwork, OpenType features, as well as meta information like naming and vertical alignments for each style of the typeface.
You will find editable sources in the `sources` directory. The `instances` subfolder contains separate source files for each style of the typeface. Sources are provided in .ufo files, which contain complete artwork, links to OpenType features provided in separate .fea files, as well as meta information like naming and vertical alignments for each style of the typeface.

These are not installable fonts, but rather the source files that produce them: UFO (Unified Font Object) is an open, human-readable font source file format; you can find the [file spec here](https://github.com/unified-font-object/ufo-spec).
These sources were created using [RoboFont](https://robofont.com/). Many other font editors will also be able to open .ufo files; we recommend using RoboFont version 3.4 or up for the closest approximation of the original design and development environment.
These sources were created using [RoboFont](https://robofont.com/). Many other font editors will also be able to open .ufo files; we recommend using RoboFont version 4.4.

### Outline Formats
For instances, you will find postscript and truetype subfolders; these contain separate source files for the .otf format and the .ttf/.woff/.woff2 files respectively. Since the format for the outline drawings differs between these sets of formats, for best results we recommend using the postscript sources to create .otf fonts, and the TrueType sources to create .ttf, .woff, or .woff2 fonts.
For instances, you will find `postscript` and `truetype` subfolders; these contain separate source files for the .otf format and the .ttf/.woff/.woff2 files respectively. Since the format for the outline drawings differs between these sets of formats, for best results we recommend using the postscript sources to create .otf fonts, and the TrueType sources to create .ttf, .woff, or .woff2 fonts.

### Generating Fonts
After making your desired edits, you can generate installable fonts directly from the font editor using its “Generate Font” functionality. If you use RoboFont, any install options should default to the ideal settings, but here they are for reference:
- For .otf builds, we recommend activating “Decompose” as well as “Autohint” options.
- For .ttf, .woff and .woff2 builds, we recommend activating the “Autohint” option only for more compact files (see note on hinting below).
- For .ttf, .woff and .woff2 builds, we recommend activating the “Autohint” option only (see note on hinting below).
- In any case, we recommend using the “Release Mode” setting for best results.

### UFO Source Files: Masters

If you would like to apply edits across multiple weights, a more advanced yet potentially efficient way is to edit the masters. These are special sources that describe the extreme points in the design space — the lightest and heaviest weights for both roman and italic designs.

After editing masters, you will need to rerun interpolation to generate individual weights and styles within that design space. This requires the .designspace files enclosed with the masters; the designspace format is an open, XML-based format that describes interpolation spaces ([format specification](https://github.com/fonttools/fonttools/tree/main/Doc/source/designspaceLib) for reference). For a RoboFont-based workflow we recommend [Skateboard](https://extensionstore.robofont.com/extensions/skateboard/) for interpolation; you can also use the free [DesignSpaceEditor](https://github.com/LettError/designSpaceRoboFontExtension) extension to view and edit these files.
After editing masters, you will need to rerun interpolation to generate individual weights and styles within that design space. This requires the .designspace files enclosed with the masters. The designspace format is an open, XML-based format that describes interpolation spaces ([format specification](https://github.com/fonttools/fonttools/tree/main/Doc/source/designspaceLib) for reference). For a RoboFont-based workflow we recommend [Skateboard](https://extensionstore.robofont.com/extensions/skateboard/) for interpolation; you can also use the free [DesignSpaceEditor](https://github.com/LettError/designSpaceRoboFontExtension) extension to view and edit these files.

Note that masters are only available in postscript format, so they will be best for creating .otf fonts. If you need to make TrueType based builds from the masters, we recommend [QuadraticConverter](https://github.com/BlackFoundry/QuadraticConverter) for best quality conversion of the curves before generating .ttf, .woff, or .woff2 files; mind that the results will not match the provided instances precisely.

NB: The prepared instances contain some additional data that cannot be stored in the masters and maintained through interpolation. For best results, compare new interpolations to the existing instance sources and update them accordingly, specifically the information accessible through the Font Info panels.
NB: The prepared instances contain some additional data that cannot be maintained through interpolation. For best results, compare new interpolations to the existing instance sources and update them accordingly, specifically the information accessible through the Font Info panels.


### Other Files: Hinting Source
### Hinting Source
For TrueType-based formats (.ttf, .woff, .woff2 files), the official releases are manually optimized for screen rendering. These “hinting” sources are stored separately from the .ufo files, which do not contain any TrueType hinting information. When rebuilding TrueType-based formats, we recommend using the “autohint” option to achieve reasonable, though not identical screen rendering.

If you would like to access and edit manual hinting instructions, you will find these in the separate set of source files under other files/truetype hinting source. These special TTF files will be viewable and editable using [Microsoft VTT](https://learn.microsoft.com/en-us/typography/tools/vtt/).
If you would like to access and edit manual hinting instructions, you will find these in the separate set of source files under `hinting/truetype hinting source`. These special TTF files will be viewable and editable using [Microsoft VTT](https://learn.microsoft.com/en-us/typography/tools/vtt/).


## Suggesting Edits
Expand Down
33 changes: 17 additions & 16 deletions fonts/Intel One Mono - Release Notes.txt
Original file line number Diff line number Diff line change
@@ -1,24 +1,21 @@
Release Notes / Intel One Mono
2023-08-18
2024-07-26


Family name
Font family
Intel One Mono

Version number
1.3 Updated font naming (“Intel One Mono”) - will require relinking
Improved linking of Regular and Bold weights
Improved alignment between hyphen, colon, and operators
Updated art for backtick/grave
Edited mark/ccmp features for language support
Edits to meta info and licensing text
Version
1.4 Added optional programming ligatures
Added box-drawing glyphs
Small bugfixes and improvements


Supported scripts
Latin (full glyph complement supporting over 200 languages)

Number of glyphs
684
1043

Weights/Styles
Light
Expand All @@ -34,7 +31,7 @@ Usage
Text
Use at 7 pt and up in print, 9 px and up on screen.

File formats
Font file formats
OTF (Desktop)
TTF (Desktop/App)
WOFF (Web)
Expand All @@ -48,14 +45,18 @@ Embedding settings
No embedding restrictions

Available OpenType features
ss11 Raised Colon (Figures Only)
ss12 Raised Colon (Global)
salt Stylistic Alternates
ss01 Programming ligatures
ss02 Arrow forms for less/equal and greater/equal combinations
ss03 www ligature
ss11 Raised colon (contextual with figures)
ss12 Raised colon (global)
salt Raised colon (global)
locl Localizations
ccmp Glyph Composition/Decomposition Rules
ccmp Glyph composition/decomposition rules
mark Mark Attachment
numr Numerator
dnom Denominator
sups Superscript
subs Subscript
sinf Scientific Inferior
sinf Scientific inferior
aalt Access all alternates
Binary file modified fonts/otf.zip
Binary file not shown.
Binary file modified fonts/otf/IntelOneMono-Bold.otf
Binary file not shown.
Binary file modified fonts/otf/IntelOneMono-BoldItalic.otf
Binary file not shown.
Binary file modified fonts/otf/IntelOneMono-Italic.otf
Binary file not shown.
Binary file modified fonts/otf/IntelOneMono-Light.otf
Binary file not shown.
Binary file modified fonts/otf/IntelOneMono-LightItalic.otf
Binary file not shown.
Binary file modified fonts/otf/IntelOneMono-Medium.otf
Binary file not shown.
Binary file modified fonts/otf/IntelOneMono-MediumItalic.otf
Binary file not shown.
Binary file modified fonts/otf/IntelOneMono-Regular.otf
Binary file not shown.
6 changes: 3 additions & 3 deletions fonts/otf/OFL.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Copyright 2023 Intel Corp. with Reserved Font Name 'Intel One Mono'
Copyright 2023-2024 The Intel One Mono Project Authors (https://github.com/intel/intel-one-mono), with Reserved Font Name 'Intel'

This Font Software is licensed under the SIL Open Font License, Version 1.1.
This license is copied below, and is also available with a FAQ at:
http://scripts.sil.org/OFL
This license is copied below, and is also available with a FAQ at:
https://scripts.sil.org/OFL


-----------------------------------------------------------
Expand Down
Binary file modified fonts/ttf.zip
Binary file not shown.
Binary file modified fonts/ttf/IntelOneMono-Bold.ttf
Binary file not shown.
Binary file modified fonts/ttf/IntelOneMono-BoldItalic.ttf
Binary file not shown.
Binary file modified fonts/ttf/IntelOneMono-Italic.ttf
Binary file not shown.
Binary file modified fonts/ttf/IntelOneMono-Light.ttf
Binary file not shown.
Binary file modified fonts/ttf/IntelOneMono-LightItalic.ttf
Binary file not shown.
Binary file modified fonts/ttf/IntelOneMono-Medium.ttf
Binary file not shown.
Binary file modified fonts/ttf/IntelOneMono-MediumItalic.ttf
Binary file not shown.
Binary file modified fonts/ttf/IntelOneMono-Regular.ttf
Binary file not shown.
6 changes: 3 additions & 3 deletions fonts/ttf/OFL.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Copyright 2023 Intel Corp. with Reserved Font Name 'Intel One Mono'
Copyright 2023-2024 The Intel One Mono Project Authors (https://github.com/intel/intel-one-mono), with Reserved Font Name 'Intel'

This Font Software is licensed under the SIL Open Font License, Version 1.1.
This license is copied below, and is also available with a FAQ at:
http://scripts.sil.org/OFL
This license is copied below, and is also available with a FAQ at:
https://scripts.sil.org/OFL


-----------------------------------------------------------
Expand Down
Binary file modified fonts/woff.zip
Binary file not shown.
Binary file modified fonts/woff/IntelOneMono-Bold.woff
Binary file not shown.
Binary file modified fonts/woff/IntelOneMono-BoldItalic.woff
Binary file not shown.
Binary file modified fonts/woff/IntelOneMono-Italic.woff
Binary file not shown.
Binary file modified fonts/woff/IntelOneMono-Light.woff
Binary file not shown.
Binary file modified fonts/woff/IntelOneMono-LightItalic.woff
Binary file not shown.
Binary file modified fonts/woff/IntelOneMono-Medium.woff
Binary file not shown.
Binary file modified fonts/woff/IntelOneMono-MediumItalic.woff
Binary file not shown.
Binary file modified fonts/woff/IntelOneMono-Regular.woff
Binary file not shown.
6 changes: 3 additions & 3 deletions fonts/woff/OFL.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Copyright 2023 Intel Corp. with Reserved Font Name 'Intel One Mono'
Copyright 2023-2024 The Intel One Mono Project Authors (https://github.com/intel/intel-one-mono), with Reserved Font Name 'Intel'

This Font Software is licensed under the SIL Open Font License, Version 1.1.
This license is copied below, and is also available with a FAQ at:
http://scripts.sil.org/OFL
This license is copied below, and is also available with a FAQ at:
https://scripts.sil.org/OFL


-----------------------------------------------------------
Expand Down
Binary file modified fonts/woff2.zip
Binary file not shown.
Binary file modified fonts/woff2/IntelOneMono-Bold.woff2
Binary file not shown.
Binary file modified fonts/woff2/IntelOneMono-BoldItalic.woff2
Binary file not shown.
Binary file modified fonts/woff2/IntelOneMono-Italic.woff2
Binary file not shown.
Binary file modified fonts/woff2/IntelOneMono-Light.woff2
Binary file not shown.
Binary file modified fonts/woff2/IntelOneMono-LightItalic.woff2
Binary file not shown.
Binary file modified fonts/woff2/IntelOneMono-Medium.woff2
Binary file not shown.
Binary file modified fonts/woff2/IntelOneMono-MediumItalic.woff2
Binary file not shown.
Binary file modified fonts/woff2/IntelOneMono-Regular.woff2
Binary file not shown.
6 changes: 3 additions & 3 deletions fonts/woff2/OFL.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Copyright 2023 Intel Corp. with Reserved Font Name 'Intel One Mono'
Copyright 2023-2024 The Intel One Mono Project Authors (https://github.com/intel/intel-one-mono), with Reserved Font Name 'Intel'

This Font Software is licensed under the SIL Open Font License, Version 1.1.
This license is copied below, and is also available with a FAQ at:
http://scripts.sil.org/OFL
This license is copied below, and is also available with a FAQ at:
https://scripts.sil.org/OFL


-----------------------------------------------------------
Expand Down
17 changes: 17 additions & 0 deletions sources/.ninja_log
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# ninja log v5
0 1181 1721251731258217000 instance_ttf/IntelOneMono-Bold.ufo 9e8cd7ed2bbce774
2 1205 1721251731271727000 instance_ttf/IntelOneMono-Medium.ufo 112f20cbd87fb985
2 1211 1721251731273130000 instance_ttf/IntelOneMono-Light.ufo 65fe9d19d10fa728
1 1213 1721251731277536000 instance_ttf/IntelOneMono-BoldItalic.ufo 4af4d6bc7eeff546
3 1218 1721251731280863000 instance_ttf/IntelOneMono-MediumItalic.ufo e6255691778d2b62
1 1219 1721251731279373000 instance_ttf/IntelOneMono-Italic.ufo 8967b3b5dc4626ea
2 1220 1721251731281653000 instance_ttf/IntelOneMono-LightItalic.ufo f2a921845deb1807
3 1223 1721251731284453000 instance_ttf/IntelOneMono-Regular.ufo 8771f5d34efcfc1b
2 1126 1721254468483781000 instance_ttf/IntelOneMono-Medium.ufo 112f20cbd87fb985
2 1135 1721254468490023000 instance_ttf/IntelOneMono-Light.ufo 65fe9d19d10fa728
1 1138 1721254468487726000 instance_ttf/IntelOneMono-Bold.ufo 9e8cd7ed2bbce774
2 1141 1721254468491629000 instance_ttf/IntelOneMono-Italic.ufo 8967b3b5dc4626ea
1 1142 1721254468496825000 instance_ttf/IntelOneMono-BoldItalic.ufo 4af4d6bc7eeff546
2 1145 1721254468492784000 instance_ttf/IntelOneMono-MediumItalic.ufo e6255691778d2b62
3 1145 1721254468494845000 instance_ttf/IntelOneMono-Regular.ufo 8771f5d34efcfc1b
2 1146 1721254468496425000 instance_ttf/IntelOneMono-LightItalic.ufo f2a921845deb1807
60 changes: 60 additions & 0 deletions sources/features/aalt.fea
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
# --------------
# All Alternates
# --------------

feature aalt {
sub germandbls from [germandbls uni1E9E];
sub uni1E9E from [uni1E9E germandbls];
sub colon from [colon colon.fig];
sub colon.fig from [colon.fig colon];
sub eight from [eight eight.den eight.sup eight.num eight.inf];
sub eight.inf from [eight.inf eight eight.den eight.sup eight.num];
sub eight.num from [eight.num eight.inf eight eight.den eight.sup];
sub eight.sup from [eight.sup eight.num eight.inf eight eight.den];
sub eight.den from [eight.den eight.sup eight.num eight.inf eight];
sub five from [five five.inf five.num five.den five.sup];
sub five.sup from [five.sup five five.inf five.num five.den];
sub five.den from [five.den five.sup five five.inf five.num];
sub five.num from [five.num five.den five.sup five five.inf];
sub five.inf from [five.inf five.num five.den five.sup five];
sub four from [four four.sup four.num four.den four.inf];
sub four.inf from [four.inf four four.sup four.num four.den];
sub four.den from [four.den four.inf four four.sup four.num];
sub four.num from [four.num four.den four.inf four four.sup];
sub four.sup from [four.sup four.num four.den four.inf four];
sub nine from [nine nine.den nine.inf nine.num nine.sup];
sub nine.sup from [nine.sup nine nine.den nine.inf nine.num];
sub nine.num from [nine.num nine.sup nine nine.den nine.inf];
sub nine.inf from [nine.inf nine.num nine.sup nine nine.den];
sub nine.den from [nine.den nine.inf nine.num nine.sup nine];
sub one from [one one.den one.num one.inf one.sup];
sub one.sup from [one.sup one one.den one.num one.inf];
sub one.inf from [one.inf one.sup one one.den one.num];
sub one.num from [one.num one.inf one.sup one one.den];
sub one.den from [one.den one.num one.inf one.sup one];
sub seven from [seven seven.inf seven.num seven.sup seven.den];
sub seven.den from [seven.den seven seven.inf seven.num seven.sup];
sub seven.sup from [seven.sup seven.den seven seven.inf seven.num];
sub seven.num from [seven.num seven.sup seven.den seven seven.inf];
sub seven.inf from [seven.inf seven.num seven.sup seven.den seven];
sub six from [six six.num six.sup six.den six.inf];
sub six.inf from [six.inf six six.num six.sup six.den];
sub six.den from [six.den six.inf six six.num six.sup];
sub six.sup from [six.sup six.den six.inf six six.num];
sub six.num from [six.num six.sup six.den six.inf six];
sub three from [three three.inf three.den three.num three.sup];
sub three.sup from [three.sup three three.inf three.den three.num];
sub three.num from [three.num three.sup three three.inf three.den];
sub three.den from [three.den three.num three.sup three three.inf];
sub three.inf from [three.inf three.den three.num three.sup three];
sub two from [two two.inf two.sup two.num two.den];
sub two.den from [two.den two two.inf two.sup two.num];
sub two.num from [two.num two.den two two.inf two.sup];
sub two.sup from [two.sup two.num two.den two two.inf];
sub two.inf from [two.inf two.sup two.num two.den two];
sub zero from [zero zero.sup zero.num zero.den zero.inf];
sub zero.inf from [zero.inf zero zero.sup zero.num zero.den];
sub zero.den from [zero.den zero.inf zero zero.sup zero.num];
sub zero.num from [zero.num zero.den zero.inf zero zero.sup];
sub zero.sup from [zero.sup zero.num zero.den zero.inf zero];
} aalt;
Loading

0 comments on commit 99e2d6c

Please sign in to comment.