Differentunic / Montserrat-Alt1

Custom version of Montserrat
SIL Open Font License 1.1
62 stars 3 forks source link

I cant make it display special charachters. A just shows as A #2

Closed cjjohansen closed 2 years ago

cjjohansen commented 2 years ago

See code pen https://codepen.io/cjjohansen/pen/jOYvRKx

Do you have any clue?

Thx in advance

cjjohansen commented 2 years ago

OK Seems the trick is to use Greek Letters LAMBDA and XI

Differentunic commented 2 years ago

Hi, What exactly seems to be the issue?

Edit: I see what's wrong now. It's very strange that you're not able to use normal characters with the font. I'll look into it.

Differentunic commented 2 years ago

The problem seems to just be CORS. It's not something I can fix, as Github would have to alter code on their side.

I recommend downloading all the files locally, and creating an express.js server that serves static files.

const express = require('express');
const app = express();
const path = require('path');
const public = path.join(__dirname, 'public');

// viewed at http://localhost:8080
app.get('/', function(req, res) {
    res.sendFile(path.join(public, 'index.html'));
});

app.use('/', express.static(public));

app.listen(8080);

If you did want to try getting it working, you should try make your own html page locally.

Showing the CORS errors below. image

Differentunic commented 2 years ago

This issue has closed because it has been open 15 days with no activity.