LWN: Comments on "OpenType 1.8 and style attributes" https://lwn.net/Articles/701759/ This is a special feed containing comments posted to the individual LWN article titled "OpenType 1.8 and style attributes". en-us Fri, 17 Oct 2025 14:05:16 +0000 Fri, 17 Oct 2025 14:05:16 +0000 https://www.rssboard.org/rss-specification lwn@lwn.net OpenType 1.8 and style attributes https://lwn.net/Articles/702382/ https://lwn.net/Articles/702382/ n8willis <div class="FormattedComment"> But "Bold buttons" in document editing applications are already vague as far as what their expected outcome will be. Users can select a snippet that has multiple fonts (of different formats and that may or may not have a Bold variant currently installed on the system), has some text that's already bold, and even includes some non-text content like images. Some of the text might be in a font that has multiple weight levels available. What happens when the button is then pressed will vary, basically depending on the programmer's whim. So OpenType 1.8 changes nothing there.<br> <p> By and large, standard document editors are not likely to want or to need to know whether all the various font instances available to the text renderer come from separate files or a single file. Certain graphic-design apps or GUI engines might. But for everything else, that's something probably best mediated by a lower-level system library, like Fontconfig, that can keep track of what options are associated with a particular font/family/superfamily "human readable" name.<br> <p> Nate<br> </div> Sun, 02 Oct 2016 11:09:46 +0000 OpenType 1.8 and style attributes https://lwn.net/Articles/702364/ https://lwn.net/Articles/702364/ bokr <div class="FormattedComment"> I'm wondering if anyone classifies the OCR-ability of other-than-OCR fonts,<br> given the common practice of governemnts and businesses of scanning documents<br> for archiving, or programmatically producing compatible files even from simple text.<br> <p> It might be good to be able to choose fonts based on expected error rates in<br> OCR say in a Richter scale style of errors per 10^n where n could be two significant<br> figures, like 10^6.3 would be about one error in two million (UIAM) for OCR attribute 6.3.<br> <p> Without OCR, character-based searches are not going to happen except maybe<br> of images' textual metadata. Of course legislators et al realize this?<br> </div> Sun, 02 Oct 2016 08:07:42 +0000 OpenType 1.8 and style attributes https://lwn.net/Articles/702248/ https://lwn.net/Articles/702248/ JanC_ <div class="FormattedComment"> Considering that the meaning of “axis values” is also font-specific AFAICT, the only reasonable answer is to do what each font defines as “Bold”.<br> <p> I'm pretty sure that's also what users expect to happen (you don't want to explain why the same font looks different in bold depending on what font the neighbour text uses).<br> </div> Fri, 30 Sep 2016 00:22:09 +0000 OpenType 1.8 and style attributes https://lwn.net/Articles/702173/ https://lwn.net/Articles/702173/ nim-nim <div class="FormattedComment"> And, of course, even assuming all the axis are properly documented in font metadata, the fun part is the UI exposed to users to select along those axis.<br> <p> For that matter since the new specification lets two fonts use the same human label for different axis values, what happens when the user selects a run of text composed of different fonts and press the bold button? Is the software supposed to apply the same axis value to all fonts (favouring consistency), or select for each font the value associated to the "Bold" label, even though those values are different?<br> </div> Thu, 29 Sep 2016 09:15:33 +0000