Skip to content

Commit

Permalink
Merge pull request #95 from KasimAhmic/update-charmap-sample
Browse files Browse the repository at this point in the history
Include L|l1iI0Oo____ string in charmap for #69
  • Loading branch information
chriscoyier authored Jan 26, 2021
2 parents b779914 + 5ac97e8 commit c2fc277
Show file tree
Hide file tree
Showing 85 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/assets/fonts/noto-mono/noto-mono.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@font-face {
font-family: 'noto_mono';
font-family: 'Noto Mono';
src: url('notomono-regular-webfont.woff2') format('woff2'),
url('notomono-regular-webfont.woff') format('woff');
font-weight: 400;
Expand Down
5 changes: 4 additions & 1 deletion src/code_samples/charmap.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ layout: for_screenshot
title: Character Map Sample
---

<pre class="lang-text" style="font-size: 28px;"><code><span>Aa Bb Cc Dd Ee Ff Gg Hh Ii Jj Kk Ll Mm</span>
<pre class="lang-text" style="font-size: 24px;"><code><span>Aa Bb Cc Dd Ee Ff Gg Hh Ii Jj Kk Ll Mm</span>
<span>Nn Oo Pp Qq Rr Ss Tt Uu Vv Ww Xx Yy Zz</span>
<span>1 2 3 4 5 6 7 8 9 0 . , : ; … ! ¡ ? ¿</span>
<span>· • * # ․ / ( ) { } [ ] - _ ‹ › " ' `</span></code>
Expand Down Expand Up @@ -39,6 +39,9 @@ Zeros
Upper "O"s
OOO
</div>
</div><div style="display: flex">
All Together
L|l1iI0Oo____
</div>

</pre>
Binary file modified src/screenshots/Consolas/charmap-dark.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 modified src/screenshots/Consolas/charmap-light.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 modified src/screenshots/FiraFlott/charmap-dark.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 modified src/screenshots/FiraFlott/charmap-light.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 modified src/screenshots/Hack/charmap-dark.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 modified src/screenshots/Hack/charmap-light.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 modified src/screenshots/Hasklig/charmap-dark.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 modified src/screenshots/Hasklig/charmap-light.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 modified src/screenshots/Iosevka/charmap-dark.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 modified src/screenshots/Iosevka/charmap-light.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 modified src/screenshots/JuliaMono/charmap-dark.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 modified src/screenshots/JuliaMono/charmap-light.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 modified src/screenshots/Menlo/charmap-dark.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 modified src/screenshots/Menlo/charmap-light.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 modified src/screenshots/Monoid/charmap-dark.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 modified src/screenshots/Monoid/charmap-light.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 modified src/screenshots/Sudo/charmap-dark.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 modified src/screenshots/Sudo/charmap-light.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 modified src/screenshots/anonymous-pro/charmap-dark.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 modified src/screenshots/anonymous-pro/charmap-light.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 modified src/screenshots/cartograph-cf/charmap-dark.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 modified src/screenshots/cartograph-cf/charmap-light.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 modified src/screenshots/cartograph-cf/css-dark.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 modified src/screenshots/cartograph-cf/css-light.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 modified src/screenshots/cartograph-cf/html-dark.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 modified src/screenshots/cartograph-cf/html-light.png
Binary file modified src/screenshots/cartograph-cf/js-dark.png
Binary file modified src/screenshots/cartograph-cf/js-light.png
Binary file modified src/screenshots/cascadia-code/charmap-dark.png
Binary file modified src/screenshots/cascadia-code/charmap-light.png
Binary file modified src/screenshots/comic-neue/charmap-dark.png
Binary file modified src/screenshots/comic-neue/charmap-light.png
Binary file modified src/screenshots/courier-prime/charmap-dark.png
Binary file modified src/screenshots/courier-prime/charmap-light.png
Binary file modified src/screenshots/cousine/charmap-dark.png
Binary file modified src/screenshots/cousine/charmap-light.png
Binary file modified src/screenshots/dejavu/charmap-dark.png
Binary file modified src/screenshots/dejavu/charmap-light.png
Binary file modified src/screenshots/droid-sans-mono/charmap-dark.png
Binary file modified src/screenshots/droid-sans-mono/charmap-light.png
Binary file modified src/screenshots/fantasque-sans-mono/charmap-dark.png
Binary file modified src/screenshots/fantasque-sans-mono/charmap-light.png
Binary file modified src/screenshots/fira-code/charmap-dark.png
Binary file modified src/screenshots/fira-code/charmap-light.png
Binary file modified src/screenshots/gintronic/charmap-dark.png
Binary file modified src/screenshots/gintronic/charmap-light.png
Binary file modified src/screenshots/ibm-plex-mono/charmap-dark.png
Binary file modified src/screenshots/ibm-plex-mono/charmap-light.png
Binary file modified src/screenshots/inconsolata/charmap-dark.png
Binary file modified src/screenshots/inconsolata/charmap-light.png
Binary file modified src/screenshots/input/charmap-dark.png
Binary file modified src/screenshots/input/charmap-light.png
Binary file modified src/screenshots/jetbrains-mono/charmap-dark.png
Binary file modified src/screenshots/jetbrains-mono/charmap-light.png
Binary file modified src/screenshots/latin-modern-mono/charmap-dark.png
Binary file modified src/screenshots/latin-modern-mono/charmap-light.png
Binary file modified src/screenshots/liberation-mono/charmap-dark.png
Binary file modified src/screenshots/liberation-mono/charmap-light.png
Binary file modified src/screenshots/lotion/charmap-dark.png
Binary file modified src/screenshots/lotion/charmap-light.png
Binary file modified src/screenshots/monolisa/charmap-dark.png
Binary file modified src/screenshots/monolisa/charmap-light.png
Binary file modified src/screenshots/noto-mono/charmap-dark.png
Binary file modified src/screenshots/noto-mono/charmap-light.png
Binary file modified src/screenshots/opendyslexic-mono/charmap-dark.png
Binary file modified src/screenshots/opendyslexic-mono/charmap-light.png
Binary file modified src/screenshots/operator-mono/charmap-dark.png
Binary file modified src/screenshots/operator-mono/charmap-light.png
Binary file modified src/screenshots/pt-mono/charmap-dark.png
Binary file modified src/screenshots/pt-mono/charmap-light.png
Binary file modified src/screenshots/recursive/charmap-dark.png
Binary file modified src/screenshots/recursive/charmap-light.png
Binary file modified src/screenshots/roboto-mono/charmap-dark.png
Binary file modified src/screenshots/roboto-mono/charmap-light.png
Binary file modified src/screenshots/san-francisco-mono/charmap-dark.png
Binary file modified src/screenshots/san-francisco-mono/charmap-light.png
Binary file modified src/screenshots/source-code-pro/charmap-dark.png
Binary file modified src/screenshots/source-code-pro/charmap-light.png
Binary file modified src/screenshots/ubuntu-mono/charmap-dark.png
Binary file modified src/screenshots/ubuntu-mono/charmap-light.png
Binary file modified src/screenshots/victor-mono/charmap-dark.png
Binary file modified src/screenshots/victor-mono/charmap-light.png
2 changes: 1 addition & 1 deletion takeScreenshots.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ const takeScreenshots = async (font, lang, theme) => {
deviceScaleFactor: 2
});

page.on('console', msg => console.warn('Browser Log:', msg.text()));
page.on('console', msg => console.warn(`Browser Log [${font}]: ${msg.text()}`));

await page.goto(
`http://localhost:8080/code_samples/${lang}?font=${font}&theme=${theme}`,
Expand Down

0 comments on commit c2fc277

Please sign in to comment.