Git Product home page Git Product logo

Comments (7)

TakWolf avatar TakWolf commented on June 15, 2024

Make the example more obvious:

image
image

from aseprite.

Gasparoken avatar Gasparoken commented on June 15, 2024

Thanks for this report. I think it's related to #1877
And implementing #4362 this issue should be solved.

from aseprite.

dacap avatar dacap commented on June 15, 2024

I'll review this later.

from aseprite.

dacap avatar dacap commented on June 15, 2024

@TakWolf I'm trying to take a look to this issue and see if using Skia (DirectWrite on Windows) to paint text with this font is fixed, but noticed that it make things worse (I have to investigate a little more):

image

πŸ€’

Anyway I found out that with the current Aseprite implementation (v1.3.6), using Screen Scaling=100% and UI Scaling=200% things work a little better:

image

image

Anyway we'll try to find a proper solution.

from aseprite.

dacap avatar dacap commented on June 15, 2024

It looks like the DirectWrite does't support .otf format too well, but .ttf fonts work great:

image

from aseprite.

TakWolf avatar TakWolf commented on June 15, 2024

Could confirm this is an issue with DirectWrite?

Do other OTFs also have this issue?

For example:

https://unifoundry.com/unifont/index.html as 16px

https://github.com/adobe-fonts/source-han-serif/releases as Vectorial

from aseprite.

dacap avatar dacap commented on June 15, 2024

It looks like an issue with DirectWrite only (or probably some setup that is missing in the Skia side/implementation of DirectWrite, probably something to review a little later), and probably with bitmap fonts only (?).

unifont with 16px:

image

SourceHanSerif-Medium.otf:

image

(there are some issues with the required width but it's something to fix yet).

from aseprite.

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.