Code Monkey home page Code Monkey logo

Comments (7)

danyeaw avatar danyeaw commented on August 17, 2024

Hi @theCapypara, we could integrate this patch, would you mind creating a PR?

from gvsbuild.

pbor avatar pbor commented on August 17, 2024

But are you sure we are affected and it is not msys specific? The comment from Fan in the upstream bug report says that he cannot reproduce when building with VS2019

from gvsbuild.

theCapypara avatar theCapypara commented on August 17, 2024

I'm not fully certain. I have some weirdness with font rendering for a few months for one of my GTK3 apps, but its possible it's unrelated to this. I'll do some tests.
grafik
grafik

from gvsbuild.

theCapypara avatar theCapypara commented on August 17, 2024

Here's the results:

I'm not 100% convinced the "normal" label text looks much better, but at least a bit? The GtkSource text looks 1000x times better though. I'll open a PR.

EDIT: Okay looking at it on a better screen the results for the label text are also much better.

grafik
grafik

from gvsbuild.

danyeaw avatar danyeaw commented on August 17, 2024

I tried to test this as well, I didn't see any noticeable difference with normal fonts or with GtkSourceview with GTK4. I am not against merging the patch if it is helping you though.

In general, I think the fonts don't look great on Windows. I get Pango-WARNING **: 10:03:29.777: couldn't load font "MyriadPro Not-Rotated 7.654", falling back to "Sans Not-Rotated 7.654", expect ugly output. warnings with and without this patch.

from gvsbuild.

theCapypara avatar theCapypara commented on August 17, 2024

Yeah, this might for some reason only affect GTK 3. I have another app using GTK 4 and didn't notice major font issues there before, but I also didn't check it with this patch yet and I don't use GtkSourceView there.

from gvsbuild.

theCapypara avatar theCapypara commented on August 17, 2024

Hm.... #1328 fixed the GtkSourceView issue. However font quality overall is still poor without #1325.
It is better, but still not great. You can see yellow and blue artifacts.

Here is the same screenshots as above but just with the current main branch, #1328 included (but not my PR):

grafik
grafik

from gvsbuild.

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.