Jump to content

Matching Website Text Quality


Recommended Posts

24 minutes ago, mikehutch said:

Is there any way to accomplish this?

In a word, no. Selectable text on a web page is essentially vector, but a PNG image is raster.

Alfred spacer.png
Affinity Designer/Photo/Publisher 2 for Windows • Windows 10 Home/Pro
Affinity Designer/Photo/Publisher 2 for iPad • iPadOS 17.5.1 (iPad 7th gen)

Link to comment
Share on other sites

8 hours ago, αℓƒяє∂ said:

In a word, no. Selectable text on a web page is essentially vector, but a PNG image is raster.

But the vector must also be rendered using pixels. Standard view (100%) should therefore be of the same quality.

Affinity Store (MSI/EXE): Affinity Suite (ADe, APh, APu) 2.5.5.2636 (Retail)
Dell OptiPlex 7060, i5-8500 3.00 GHz, 16 GB, Intel UHD Graphics 630, Dell P2417H 1920 x 1080, Windows 11 Pro, Version 23H2, Build 22631.4317.
Dell Latitude E5570, i5-6440HQ 2.60 GHz, 8 GB, Intel HD Graphics 530, 1920 x 1080, Windows 11 Pro, Version 23H2, Build 22631.4317.
Intel NUC5PGYH, Pentium N3700 2.40 GHz, 8 GB, Intel HD Graphics, EIZO EV2456 1920 x 1200, Windows 10 Pro, Version 21H1, Build 19043.2130.

Link to comment
Share on other sites

37 minutes ago, Pšenda said:

But the vector must also be rendered using pixels. Standard view (100%) should therefore be of the same quality.

No, absolutely not!

Browsers and operating systems know you are using fonts and do a lot of extra rendering work, using antialiasing etc. Some even use sub-pixel rendering, which as I understand it, uses coloured pixels to improve on the grey only standard antialiasing. Must admit I don't know too much about who, when and where that is used but being a font does matter!

A pixel in an image is just a pixel.

Windows PCs. Photo and Designer, latest non-beta versions.

Link to comment
Share on other sites

49 minutes ago, toltec said:

Browsers and operating systems know you are using fonts and do a lot of extra rendering work, using antialiasing etc. Some even use sub-pixel rendering...

Yup, agreed! It's called ClearType, and it was developed by Microsoft to add additional resolution to text. It can do this magical thing because every single pixel consists of three dots; a dot is just a red green or blue rectangle. 

Image result for monitor close-up

So what they do around text aliasing is have red, green, and blue turn on procedurally. 

That's why if you take a screenshot in Microsoft Windows, and really zoom in on some rasterized vector text, you'll see some delightfully strange effects

image.thumb.png.ec445a0596868587fc02cb3e25c0dfd8.png

The antialaising implemented here is perhaps the most clever antialaising available. It effectively triples the 'pixels' on your screen by being able to put all of those dots to use by sending colors to your screen. As such, edges can be extra smooth as Windows and other operating systems are able to divide each pixel into a third.

Problematically, no programs will really let you create this same kind of text, simply because it really ought to be done on the side of the operating system. This is what Affinity Photo will do:

image.thumb.png.fa5ca36b0ac4d5d2d1da9576fa3f8bfc.png

Both of these, however, are better than text with no anti-aliasing at all, which looks image.png.a967d86e1514308b726339874b3a0037.png

image.png

Link to comment
Share on other sites

3 hours ago, Pšenda said:

But the vector must also be rendered using pixels. Standard view (100%) should therefore be of the same quality.

No, it will not be the same quality if html text elements are used on the web page & compared to a bitmap image of that same text. In fact, web browsers may not even use any of the same fonts (there can be more than one) the tagged text element suggests the browser could use to render it.

To oversimplify a bit, a web page is like a recipe sent to a browser that identifies various elements as text, bitmap images, vectors, video, links, or whatever. It is sort of like how a cookbook might list the ingredients of a recipe & instructions on how to prepare it. But the 'cook' (the browser) is not compelled to follow those instructions exactly, or even use all the ingredients in the list.

All 3 1.10.8, & all 3 V2.5.6 Mac apps; 2020 iMac 27"; 3.8GHz i7, Radeon Pro 5700, 32GB RAM; macOS 10.15.7
A
ll 3 V2 apps for iPad; 6th Generation iPad 32 GB; Apple Pencil; iPadOS 15.7

Link to comment
Share on other sites

Hello, I responded to the text "is essentially vector, but a PNG image is raster". The correct answer is "font".

Affinity Store (MSI/EXE): Affinity Suite (ADe, APh, APu) 2.5.5.2636 (Retail)
Dell OptiPlex 7060, i5-8500 3.00 GHz, 16 GB, Intel UHD Graphics 630, Dell P2417H 1920 x 1080, Windows 11 Pro, Version 23H2, Build 22631.4317.
Dell Latitude E5570, i5-6440HQ 2.60 GHz, 8 GB, Intel HD Graphics 530, 1920 x 1080, Windows 11 Pro, Version 23H2, Build 22631.4317.
Intel NUC5PGYH, Pentium N3700 2.40 GHz, 8 GB, Intel HD Graphics, EIZO EV2456 1920 x 1200, Windows 10 Pro, Version 21H1, Build 19043.2130.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.