Announcement

Collapse
No announcement yet.

GNOME 42 Beta Released - Begins The UI / Feature / API Freeze, More Apps Ported To GTK4

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • #51
    Originally posted by user1
    I really hope subpixel AA won't be dropped in Gnome.
    Originally posted by mppix View Post
    GTK3 and GTK4 rendering is not the same. GTK4 with cairo >1.17.4 does subpixel positioning.
    Subpixel positioning != subpixel AA.

    Comment


    • #52
      Originally posted by openminded
      "GTK4 supports rotating text" - oh I can only guess the ginormous amount of users who rotate their text on a daily basis and can't live without their simple stupid file browser rotated...
      Originally posted by mppix View Post
      Both statements should hold up reasonably well.
      For the latter, people tend to rotate screens quite regularly for all sorts of reasons (openminded?)
      You have confused rotating the screen (by increments of 90 degrees) with arbitrary rotation of text.

      Comment


      • #53
        Originally posted by ⲣⲂaggins View Post
        That's what Pathfinder says about itself. The reality is that it's more or less ceased development. So indeed not all of its functionality is there - not all SVG filters, for example. But the basic rasteriser needed for font rendering should be all there, and perfectly usable in a DE.

        That's what Pathfinder says about itself. The reality is that it's more or less ceased development. So indeed not all of its functionality is there - not all SVG filters, for example. But the basic rasteriser needed for font rendering should be all there, and perfectly usable in a DE.
        I find this project interesting and hope it gets its fair share of use. Thanks for bringing it up.


        Originally posted by ⲣⲂaggins View Post
        Sure, but they don't use its hinting capabilities. ...
        Well, they don't use hinting because they use subpixel positioning.

        Originally posted by ⲣⲂaggins View Post
        Sure, but they don't use its hinting capabilities. For them, the fact that GTK might want to sometimes display text rotated at angle (which precludes the use of hinting) means that they can never use hinting. Even though it would have massive benefits for 99.9% of the text you actually see, and they could certainly find a way to active it only for pixel-grid aligned text if they wanted to. it sounds like a case of developers being so focused on the cool feature they're working on (scenegraphs, animations, transforms) that they forget what it's actually all about (legible text).
        Is this really about hinting? I'm under the impression that it is more abotu subpixel AA.
        For what it is worth, I prefer the new rendering as I cannot stand the rainbow artefacts.
        Anyhow, new/better fonts would do wonders.

        Originally posted by ⲣⲂaggins View Post
        Not a problem if your rasteriser is more than 3/4 times as fast, and also well worth the extra time.
        Why should the rasterizer be faster? What about memory and communication bandwidths of 4x8k screens or also 2x16k running at 60Hz or higher? GTK4 will probably have to deal with it at some point.
        Last edited by mppix; 23 February 2022, 10:26 PM.

        Comment


        • #54
          Originally posted by mppix View Post
          Why should the rasterizer be faster? What about memory and communication bandwidths of 4x8k screens or also 2x16k running at 60Hz or higher? GTK4 will probably have to deal with it at some point.
          Sorry, I was referring to (any) GPU rasteriser. Anyway, with both approaches to glyph rendering, the bandwidth issues are the same, more or less negligible, and also independent of the screen size.

          Comment


          • #55
            Originally posted by mppix View Post
            Anyhow, complex font aliasing is on its way out on all platforms.
            Only the platforms of evil, Darth. 😜

            Also, one of those platforms is controlled by a hardware company that can simply Not Make anything with a low PPI display, and one of them 99% only runs on phones, which have extremely high PPI, an enormously high ratio of screen resolution to GPU power, and wide usage of pentile subpixel layouts.

            It triples/quadruples the effective pixels to manage.
            I think it only triples the effective alpha channels, and only then if you want total correctness on all foreground/background color pairs. So you go from 4 channels to 6. If you support colored text (emoji, etc.), you have to support 3 different color channels anyway.

            And it seems like GTK4 should be able to get subpixel AA essentially for free if they rendered their subpixel-positioned glyph cache at 1/3 px offsets instead of 1/4 px offsets. If the app knows which display it's drawn on, which it must to handle scaling, then that would even let you correctly handle monitors that are rotated or have different subpixel order.

            And people will use 8k+ multi-monitor setups during GTK4's life.
            First, are you or the Gnome project buying? If so, I will gladly post a bitcoin address. Including family, I have five displays to replace, two of which must be laptops.

            Second, people will also use <=1080p setups during GTK4's life. GTK4 is live now. 1080p is still at 67% share on the Steam hardware survey. And that's biased toward techies who buy new computers to run games on. By Mozilla's numbers, 1080p is rarer, but only because of even lower resolutions. 4k has less than half the userbase of 1280x800, has recently eclipsed the bizarre 1360x768, and is crawling along around %1 share. #OccupyGTK4

            Third the general direction the market is going for 4K desktop monitors is stuck around 150 PPI, 'til death do us part. It seems like most people don't want to eat the cost in GPU power or display cable bandwidth -- or literal cost -- unless they can get more screen real estate out of it. Dell made one 24" 4K display, but they discontinued it, and it didn't support modern features like refresh rates above 60 Hz or VRR. High-PPI is going to be laptop and smartphone only for the foreseeable future. Likely even restricted to high-end laptops, or budget ones that make substantial sacrifices elsewhere.

            Originally posted by mppix View Post
            I actually prefer grayscale AA (I cannot stand the rainbow effects of subpixel AA).
            There are no rainbow effects of properly-functioning subpixel AA. Proper functioning means subpixel order configured to match your monitor(s), and freetype's lcdfilter set to lcdlight or lcddefault, which unfortunately is often not the default. Alternately, Freetype Harmony, but for some reason most distros have that turned off in their build options. Rainbow effects are caused by the lcddnone or lcdlegacy filters, which allow above-nyquist-limit frequencies into the output image. That is, glyphs with stems that are too narrow.

            The usual explanation of subpixel AA -- that it emulates 3x horizontal resolution -- is wrong, and trying to do that does create color fringes. What subpixel AA really does is correct for a predictable convergence error of the monitor. You are rendering each color plane shifted by 1/3 px or a little less, to compensate for the fact that the they are shifted the other direction by the same amount on the physical display.

            Comment

            Working...
            X