Skip to content

Commit

Permalink
Update glyphs
Browse files Browse the repository at this point in the history
  • Loading branch information
li3zhen1 committed Nov 11, 2023
1 parent ca3dc53 commit c8a5580
Show file tree
Hide file tree
Showing 4 changed files with 48 additions and 45 deletions.
69 changes: 35 additions & 34 deletions OpticaMono.glyphs
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@
.formatVersion = 3;
DisplayStrings = (
fragitjle,
"/exclam.alt.not_equal",
M,
"?"
"?",
g,
r
);
date = "2022-02-20 13:28:03 +0000";
familyName = "Optica Mono";
Expand Down Expand Up @@ -1661,7 +1662,7 @@ unicode = 102;
},
{
glyphname = g;
lastChange = "2022-12-10 06:32:28 +0000";
lastChange = "2023-11-11 21:37:33 +0000";
layers = (
{
guides = (
Expand All @@ -1677,12 +1678,12 @@ shapes = (
{
closed = 1;
nodes = (
(316,-368,o),
(422,-384,o),
(606,-384,cs),
(894,-384,o),
(1074,-217,o),
(1074,53,cs),
(316,-380,o),
(427,-401,o),
(598,-401,cs),
(893,-401,o),
(1074,-221,o),
(1074,49,cs),
(1074,1080,l),
(912,1080,l),
(912,893,l),
Expand All @@ -1702,13 +1703,13 @@ nodes = (
(894,245,c),
(906,245,l),
(906,58,ls),
(906,-151,o),
(766,-236,o),
(572,-236,cs),
(428,-236,o),
(316,-225,o),
(231,-208,c),
(231,-343,l)
(906,-145,o),
(765,-251,o),
(572,-251,cs),
(428,-251,o),
(315,-237,o),
(231,-213,c),
(231,-347,l)
);
},
{
Expand Down Expand Up @@ -1823,16 +1824,16 @@ unicode = 105;
},
{
glyphname = j;
lastChange = "2022-12-10 06:06:10 +0000";
lastChange = "2023-11-11 21:37:00 +0000";
layers = (
{
layerId = m01;
shapes = (
{
closed = 1;
nodes = (
(279,-369,o),
(362,-384,o),
(278,-365,o),
(363,-384,o),
(454,-384,cs),
(743,-384,o),
(910,-248,o),
Expand All @@ -1846,9 +1847,9 @@ nodes = (
(646,-236,o),
(448,-236,cs),
(364,-236,o),
(284,-230,o),
(224,-217,c),
(224,-348,l)
(282,-227,o),
(224,-210,c),
(224,-345,l)
);
},
{
Expand Down Expand Up @@ -2222,7 +2223,7 @@ unicode = 113;
},
{
glyphname = r;
lastChange = "2022-02-22 04:55:21 +0000";
lastChange = "2023-11-11 21:39:43 +0000";
layers = (
{
layerId = m01;
Expand All @@ -2235,22 +2236,22 @@ nodes = (
(554,142,l),
(554,572,ls),
(554,834,o),
(740,932,o),
(922,932,cs),
(998,932,o),
(1080,914,o),
(740,936,o),
(922,936,cs),
(1008,936,o),
(1086,920,o),
(1145,883,c),
(1145,1053,l),
(1088,1087,o),
(1033,1100,o),
(945,1100,cs),
(732,1100,o),
(1145,1051,l),
(1089,1091,o),
(1033,1108,o),
(945,1108,cs),
(732,1108,o),
(617,1000,o),
(570,840,c),
(554,840,l),
(554,1080,l),
(200,1080,l),
(200,938,l),
(163,1080,l),
(163,938,l),
(384,938,l),
(384,142,l),
(200,142,l),
Expand Down
Binary file added assets/0001.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/0002.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
24 changes: 13 additions & 11 deletions assets/test-code.cpp
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
#include <cstdio>
#include <iostream>
#include <string>
#include <vector>

using namespace std;

class Typeface {
public:
public:
enum TypefaceStyle {
Monospaced = 0x0,
Proportional = 0x1,
Expand All @@ -14,18 +15,19 @@ class Typeface {

int main() {

const auto style = Typeface::Monospaced;

const auto specimenText = new vector<string> {
"sphinx of black quartz, judge my vow.\n",
const auto specimenText = new vector<string>{
"sphinx of black quartz, judge my vow.",
"the quick brown fox jumps over the lazy dog."
};

specimenText->push_back(
"the quick brown fox jumps over the lazy dog.\n"
);

// print a sentence that contains all lower-case letters.
fprintf(stdout, "%u", style);
specimenText->push_back({
"SPHINX OF BLACK QUARTZ, JUDGE MY VOW.",
"THE QUICK BROWN FOX JUMPS OVER THE LAZY DOG."
});

for (uint i = 0; i != specimenText->size(); ++i) {
fprintf(stdout, "%s\n", (*specimenText)[i].c_str());
}

return 0;
}

0 comments on commit c8a5580

Please sign in to comment.