Comments (12)
All I had to do was change the browser font myself... Sorry, I didn't realise that.
from lean4web.
It would be very reasonable to have a reasonable default font!
(not google though, I believe there is something about google fonts not bein GDPR conform or some nonesense like that)
from lean4web.
On my end it looks very reasonable, doesn't it?
CSS says: font-family: "Droid Sans Mono", "monospace", monospace
Do you think it would be satisfactory to just ship "droid sans mono" together with the bundle?
from lean4web.
I realised that 'Droid Sans Mono' was just a random font on my computer. I did change the editor to use JuliaMono
now.
Could you test at https://lean.math.hhu.de/ and see if it all looks good @Seasawher ?
from lean4web.
In the image above, the cursor is shown as being in the middle of the line, but it actually exists at the end of the line.
I cannot reproduce this on my end. Could it be some local (CSS) caching? If it persists, please open a new issue about it!
Regarding "点" , reading the linked issue, I think we just need to update the font in a few weeks.
from lean4web.
I think this issue itself has been resolved.
from lean4web.
Not everyone can conceive of installing a font and changing the settings in their browser. Wouldn't it be nice to choose a font that displays Unicode readably by default?
from lean4web.
My mother tongue is Japanese and I usually use the font Juisee for Lean.
See https://github.com/yuru7/juisee
It would be preferable if this could be made convenient for non-English speakers.
from lean4web.
I'd happily accept a PR that adds the correct fonts. working on it right now :)
Currently Mac-users also have a hard time because for most of them it does not load a mono-space font.
from lean4web.
Sorry, I don't know how to install Droid Sans Mono and can't try it myself.
Looks good, but do the Unicode symbols used in mathematics show up clearly?
from lean4web.
Thanks for the quick response. I have tested it.
I found a problem:
When you try to define longlonglong....name
, there was a problem with the cursor "lagging" behind the displayed character.
In the image above, the cursor is shown as being in the middle of the line, but it actually exists at the end of the line.
from lean4web.
I found another problem... I think this is a bug in Julia Mono rather than in Lean4 Web, but the kanji character for "点" (which means "dot") is displayed incorrectly.
from lean4web.
Related Issues (20)
- Feature Request: wrap on infoview boundaries HOT 4
- Hamburger Menu opens when clicking on other menus HOT 1
- infoview "copy message to comment" looses stuff HOT 2
- Surround selection with brackets does not work HOT 1
- Tooltips have transparent background
- Comment highlighting
- bug: editor not updating until reloading page HOT 2
- move Webeditor to a separate github package HOT 5
- bug: `.so` files not supported
- add non-linux support
- bug: Japanese characters have an incorrect wrapping position. HOT 9
- feature request: import package HOT 3
- [Windows] [Chrome] Cursor display position and input position are mismatched HOT 8
- Feature Request: Vim Motions HOT 2
- Hover help for 'obtain' sometimes fail HOT 4
- program should be stored in localstore not URL HOT 2
- docker version HOT 2
- Consider disable context-menu in mobile view HOT 2
- Also escape `)` in `code` URL parameter HOT 3
- Abbreviations do not work HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lean4web.