I was playing around with a site that
shows an ASCII/ANSI art logo and everything seems to work great in desktop browsers.
Then I wanted to see if it works on I have tried I also tried using Is there any trick to get this to work you can see the site here href="https://disconnected.tech" rel="nofollow Turns out A workaround is Adobe's href="https://github.com/adobe/source-code-pro" rel="noreferrer">Source Code I include straight from Adobe, It
mobile devices but here it seems like the whitespaces are of a wrong width.
The part of the website showing the ASCII-art is wrapped
in a
line-height:1em;
color:
#ff791a;
white-space: pre !important;
font-size: 0.7vw;
margin: 20% 50% 0 0;
font-family: 'Druid San Mono',courier,
monospace, monospace;
width: 100%;
height:
100px;
with several variations of fonts like "Druid Sans Mono", monospace
(also the monospace, monospace hack), "Courier" and
"Roboto Mono" but none of them worked.
nbsp
instead of just spaces.
changing letter-spacing
also did not seem to have the effect I wanted.
?
noreferrer">disconnected.tech
rel="noreferrer">some gliphs are missing in Google
fonts.
Pro, which has all characters (including box drawing, which is what I needed).
Mononoki
should also work.
not via Google Fonts: href="https://adobe-fonts.github.io/source-code-pro/source-code-pro.css"
rel="noreferrer">https://adobe-fonts.github.io/source-code-pro/source-code-pro.css
may be possible to tell Google Fonts to include all necessary characters in their
reduced Source Code Pro (text= parameter).
No comments:
Post a Comment