as much as i hate javascript, i somehow got it to work. it probably looks like shit for somebody who knows js well, but it is what it is.
it works by rendering a 250x120 canvas with the fonts Chalkboard and Skia, which are indeed found on macOS by default, on the left canvas. then on the right canvas it renders the pre-rendered version, boils down both of them into a dataURL and compares.
the problem is timing - because for some reason javascript is a very reasonable programming language that decides to run itself before the content itself loads, which requires me to add, very unfortunately, a 200ms sleep function. but it works! pic1 is macOS, pic2 is windows 10.
UPDATE i really fucking hate codeberg so much. and i hate ssl. i've literally had to import that repository to github. at least they have normal page hosting, ffs. anyway: https://voidlynx.github.io/macos check it out. might not work the first time, reload in that case. probably 200ms is not enough for github to retrieve that the first time.
UPDATE2 AAAAAAAAAAAAAAA
