3 ms·
If by "on different platforms" you mean "on different server platforms" then result will be different but close enough. On Windows, for example, Skia will rend
by c-smile 6y ago
If by "on different platforms" you mean "on different server platforms" then result will be different but close enough.
On Windows, for example, Skia will render text closer to Direct2D/DirectWrite. On MacOS to CoreText.
For the reference, here is rendering of the same UI (HTML/CSS) in Sciter using Direct2D (left) and Skia/OpenGl (right):
https://sciter.com/wp-content/uploads/2020/09/d2d-vs-skia.png https://sciter.com/wp-content/uploads/2020/09/d2d-vs-skia.pn...
- pier25 6y ago> On Windows, for example, Skia will render text closer to Direct2D/DirectWrite. On MacOS to CoreText. So what you're saying is that Skia changes the aliasing to look like the platform it's running on? Damn, I wish I could make Chrome on Windows render text like it does macOS.
- deleted 6y ago[deleted]
- c-smile 6y agoI do not see any significant difference (other than different system fonts): Here is MacOS rendering https://sciter.com/wp-content/uploads/2020/09/mac-os-front.png https://sciter.com/wp-content/uploads/2020/09/mac-os-front.p...
- pier25 6y agoMaybe not when using Sciter, but on Chrome the differences are massive. I will try to make some screenshots later.
- jahewson 6y agoYou might want to check out MacType https://github.com/snowie2000/mactype/wiki/Google-Chrome https://github.com/snowie2000/mactype/wiki/Google-Chrome
- paraboul 6y agoAlso depends what you mean by rendering. Skia also uses system library for font shaping (CoreText on macOS and direct2d on windows), but also has support for using harfbuzz instead (which works on any platform, even for WebAssembly).
- pier25 6y ago> Skia also uses system library for font shaping (CoreText on macOS and direct2d on windows) Maybe that's why Chrome looks so different on both platforms.