![]() | |
#11
| |||
| |||
|
|
In article <hc17as$3ik$1 (AT) news (DOT) eternal-september.org>, C A Upsdell <cupsdell (AT) nospam (DOT) not> wrote: ... I have Windows XP with an LCD monitor. I don't know what you see when you view the pages you cited, but what I see with FF 3.5 is fat dark grey text with coloured fringes where you overlaid the text. Turning off ClearType immediately transformed the text to its normal appearance. In fact, I did not test in my Opera 9.64. In Opera, there is no fringing or extra blackening. So, the browser is obviously some important factor. |
#12
| |||
| |||
|
|
dorayme wrote: http://dorayme.netweaver.com.au/alt/indexAlignment.html http://dorayme.netweaver.com.au/alt/indexAlignment2.html This is what we see. http://www.evandervaart.nl/news/indexAlignment.png [1920x1080 205kB] |
#13
| |||
| |||
|
|
Here's a theory. Text at small sizes isn't pure black due to Mac OSX font smoothing. Instead the pixels forming the characters have various degrees of transparency. When you overlay two identical characters, a semi-transparent pixel will become darker (like overlaying two semi-transparent layers in photoshop). The lighter edge pixels become darker and make the font look jaggy. .... |
#14
| |||
| |||
|
|
In article <1j853jh.sfvlrn1sdzk5yN%j1 (AT) macunlimited (DOT) net>, j1 (AT) macunlimited (DOT) net (j) wrote: ... Here's a theory. Text at small sizes isn't pure black due to Mac OSX font smoothing. Instead the pixels forming the characters have various degrees of transparency. When you overlay two identical characters, a semi-transparent pixel will become darker (like overlaying two semi-transparent layers in photoshop). The lighter edge pixels become darker and make the font look jaggy. ... Yes, this is an intelligent idea. You are right that the grey comes from small text sizes and we can sort of see why this is. Text characters are clever little artifacts in computers and are defined by sets of mathematical rules. When you add the factor of aliasing to fit the technology of discrete pixel screens, at small sizes there is not much left for the deep black bits, a lot of pixels are pressed into smoothing services. Hence the slightly greyer look. |
#15
| |||
| |||
|
|
In an image editor like Fireworks or PS or even Illustrator, you can produce a black and set the layer opacity to less than 100% and have multilple <100% opacity *layers*. This deepens the black. We can understand why this would be wanted. How quite it is achieved is a very technical question, it is not like spray painting which keeps filling in bits that are missed. In spray painting this is possible because there is randomness. But there is no randomness in the image editor case or the HTML case. In the image editor case, they simply code for it look blacker! It is to mimic painting and glass layers and things in the real world. If this happens in the webpage context as well, then that would explain the phenomena. And indeed, it does seem to fit the case of text. But it does not fit the case of a transparent gif of a letter, such inline elements happily pile up, laying *exactly* on top of each other. There is no summing or any such interaction between the pixels on the 'indexed layers'. Interesting things, fonts! Given what we have observed, it looks like it is not something that anything of the CSS 2.1 or HTML standards has much to say about. It seems an interaction between platforms, platform options or preferences and positioning. I leave the matter for now with less niggles than I had before. <g |
#16
| |||
| |||
|
|
I would expect the edge pixels to show various shades of dirty yellow as the values of red and green step up in tandem (see the colour picker and notice the rgb values). However, if those edge pixels are sampled in Photoshop the values contain a mix of red, green *and* blue. |
#17
| |||
| |||
|
|
What gets really confusing is how these semi-transparent overlaid colours are calculated. And whether the same process is used in browsers as in graphics programs. .... ...after seeing this video I no longer trust my eyes: http://tinyurl.com/ydlhfb2 |
#18
| |||
| |||
|
|
In article <1j88xln.wtfbvd1lhlunuN%j1 (AT) macunlimited (DOT) net>, j1 (AT) macunlimited (DOT) net (j) wrote: ... What gets really confusing is how these semi-transparent overlaid colours are calculated. And whether the same process is used in browsers as in graphics programs. I have not examined the CSS 3 opacity facilities but I imagine that there are complex algorithms employed to implement those facilities with perhaps many similarities to image editor ones. In the case we were discussing, not employing any opacity rules, it seems that fonts alone get this odd interaction... anyway, ... |
#19
| |||
| |||
|
|
"dorayme" <doraymeRidThis (AT) optusnet (DOT) com.au> wrote in message news:doraymeRidThis-CB1226.12270328102009 (AT) news (DOT) albasani.net... In article <1j88xln.wtfbvd1lhlunuN%j1 (AT) macunlimited (DOT) net>, j1 (AT) macunlimited (DOT) net (j) wrote: ... What gets really confusing is how these semi-transparent overlaid colours are calculated. And whether the same process is used in browsers as in graphics programs. I have not examined the CSS 3 opacity facilities but I imagine that there are complex algorithms employed to implement those facilities with perhaps many similarities to image editor ones. In the case we were discussing, not employing any opacity rules, it seems that fonts alone get this odd interaction... anyway, ... This caught my interest so I had a bit of a play around: http://nrkn.com/opacityExperiment If you click through the links and it doesn't look like it's changing then the overlaid colours are being calculated the same. .... ...classic alpha compositing, nothing too complex to implement, which is why it looks the same everywhere: The colours are therefore likely calculated in a similar fashion |
#20
| |||
| |||
|
|
It is mildly surprising that blurring occurs, that there is not perfect registration. |
![]() |
| Thread Tools | |
| Display Modes | |
| |