Git Product home page Git Product logo

Comments (8)

Enivex avatar Enivex commented on June 9, 2024 2

@ichxorya Maybe you could change the title to something like "Incorrect ligature for ft with New Computer Modern in the web app" so it's more descriptive

from webapp-issues.

sitandr avatar sitandr commented on June 9, 2024 1

I reproduced this (on web app only, works fine on local and bot). It seems that the problem is inside set font rule for text:

#set text(font: "New Computer Modern")

_*left*_

image

I suppose the problem is inside default New Computer Modern font in the web app, e.g. New Computer Modern Sans works fine.

P.S. It seems that it is combination of ft symbols. Any others work fine. but when exported as pdf and copied, these two symbols are copied as Unicode 57353 symbol:

image

from webapp-issues.

Enivex avatar Enivex commented on June 9, 2024

Surely you have something else in your document than just the word left?

You should provide a minimal reproducible example.

from webapp-issues.

ichxorya avatar ichxorya commented on June 9, 2024

Surely you have something else in your document than just the word left?

You should provide a minimal reproducible example.

I was writing (bold + italic) "left recursion" then I saw that bug. I deleted the "recursion" part and it's still there. This could be the reason you cannot reproduce it (?)
image
image
image

Update: It's still there.

from webapp-issues.

Enivex avatar Enivex commented on June 9, 2024

I'm not able to reproduce this, so my guess would be that there's possibly a show rule or something interfering (or the compiler crashed).

from webapp-issues.

Enivex avatar Enivex commented on June 9, 2024

I just tried New Computer Modern in latex, and it renders as

image

i.e. the correct ligature. Not sure what the issue is.

#set text(font: "New Computer Modern") _*left*_
is enough by the way, you do not have to specify the language to see the behavior.

from webapp-issues.

sitandr avatar sitandr commented on June 9, 2024

I said that I wasn't able to reproduce that error anywhere except Web App, so it should be it's issue. Try creating an empty project and paste these lines. That should be some combination of web thing with fonts…

from webapp-issues.

Enivex avatar Enivex commented on June 9, 2024

I can confirm that I'm getting this when compiling locally with the latest typst and the latest release on https://ctan.org/pkg/newcomputermodern, so I guess the web app is using an older, broken version of the font.

image

from webapp-issues.

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.