Git Product home page Git Product logo

Comments (6)

YiNNx avatar YiNNx commented on June 13, 2024 1

Thanks for your issue! This is most likely caused by the font file rendering incompatibility in MacOS.
You can simply comment or delete the following code in lapis.css to ensure normal display, though the font style will be lost.

@font-face {
  font-family: "Cantarell";
  src: url('lapis/Cantarell-VF.otf');
}

Or you can clone the latest code of the master branch. I tried to fix this problem in PR #22 by replacing the font file with Cantarell-VF-new.otf, but it has not been updated to the download link. If you can help to confirm whether the replaced font can be displayed normally, it would be even more grateful.

from typora-theme-lapis.

YiNNx avatar YiNNx commented on June 13, 2024 1

This is a display problem of some system versions of macOS, and it also exists for English, but I can't reproduce it... Maybe this theme's fonts needs to be replaced with ones that are more suitable for display on macOS and for multiple languages.

I will change the font in the subsequent Release to ensure the normal display of multiple languages.
In order to temporarily display normally, you can re-download Release, search and delete the following two lines of code in lapis.css, many people said that this can solve the problem.

    font-family: 'Cantarell', 'SourceHanSerifCN';
    font-family: 'Cantarell', 'SourceHanSerifCN', 'JetBrainsMono';

from typora-theme-lapis.

AntonioDEM avatar AntonioDEM commented on June 13, 2024 1

yes, deleting the two lines solves the problem. it would be interesting to be able to find similar but more readable fonts

from typora-theme-lapis.

YiNNx avatar YiNNx commented on June 13, 2024 1

@AntonioDEM Hi, a few days ago I opened an issue to the Cantarell official repositery to figure out the reason of the font display problem. According to their reply, building the font file without ps-autohinting may fix it.
Cantarell-VF-fixed.zip
Could you help to check if this works? Just download the file above, double-click to open the font review, and see if all characters can be displayed properly.

from typora-theme-lapis.

AntonioDEM avatar AntonioDEM commented on June 13, 2024

I haven't solved the problem. I think the defect is in the SourceHanSerifCN-Bold.otf fonts that are not read by the mac. I disabled what you suggested, I also installed all the fonts in the system and did several tests, it doesn't work.

the problem is that the font "SourceHanSerifCN-Bold.ttf" doesn't exist?

i also have problems inside the text for the bold character ** ** always with the letters T , t, p

Could you try inserting alternative characters? I really like the kind of setup you use

Scr 2023-06-12 alle 08 23 33

from typora-theme-lapis.

AntonioDEM avatar AntonioDEM commented on June 13, 2024

@YiNNx hi. Ok in this days i check the files. Tnks

from typora-theme-lapis.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.