<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div class=""><div class="" style="font-family: Menlo-Regular;">Evviva, habemus improvement in font ! </div><div class="" style="font-family: Menlo-Regular;"><br class=""></div><div class="" style="font-family: Menlo-Regular;">What I tried is this:</div><div class="" style="font-family: Menlo-Regular;"><br class=""></div><div class="" style="font-family: Menlo-Regular;">0] Some tiny tweaks on @Tobias code.</div><div class="" style="font-family: Menlo-Regular;"><br class=""></div><div class="" style="font-family: Menlo-Regular;">1] Add new sizes to DejaVu Sans </div><div class="" style="font-family: Menlo-Regular;">=> Failure. See attachment in next mail (must be < 2M limit)</div><div class="" style="font-family: Menlo-Regular;"><br class=""></div><div class="" style="font-family: Menlo-Regular;">2] Add font Roboto, size 11 works and it fits my eyes, it is quite nice to see as well. </div><div class="" style="font-family: Menlo-Regular;">=> Working, see attachment 1.</div><div class="" style="font-family: Menlo-Regular;"><br class=""></div><div class="" style="font-family: Menlo-Regular;">3] Add font RobotoMono, size 9 works and it fits my eyes, it is not nice to see as Roboto but readability is wunderbar IMO.</div><div class="" style="font-family: Menlo-Regular;">=> Working, see attachment 2.</div><div class="" style="font-family: Menlo-Regular;"><br class=""></div><div class="" style="font-family: Menlo-Regular;">====== Extra considerations ======</div><div class="" style="font-family: Menlo-Regular;"><br class=""></div><div class="" style="font-family: Menlo-Regular;">E1] It took me all the afternoon to get some result. I could not make it if I did not know Python already and I hadn't a decent number of hours wrangling with Squeak under my belt. => Not for beginners. </div><div class="" style="font-family: Menlo-Regular;"><br class=""></div><div class="" style="font-family: Menlo-Regular;">E2] This procedure is just for Mac. I agree with @Christoph, there should be a better way. I can try to pack Roboto and RobotoMono in a SqueakMap package, I never did one, but it seems a good occasion to try it out. I like SqueakMap, installing stuff is as easy as it should be:)</div><div class="" style="font-family: Menlo-Regular;"><br class=""></div><div class="" style="font-family: Menlo-Regular;">E3] Can you tell me why I can't generate all the sizes I wish? Where does the limitation come from? For RobotoMono I see some garbage in certain sizes eg: {12,10,7}. But these sizes exist in GoogleDocuments for the same font. </div><div class="" style="font-family: Menlo-Regular;"><br class=""></div><div class="" style="font-family: Menlo-Regular;">E4] @Tim, either you know already well the font subject and you know where to start to touch in Squeak or it will be a problem. Before @Tobias code I was miserably stuck. No reference anywhere. In the venerable Blue and Purple book there is nothing about fonts (or I can't find it), not even in Guzdial books. There is a (master thesis?) from HPI, here: </div><div class="" style="font-family: Menlo-Regular;"><a href="https://publishup.uni-potsdam.de/opus4-ubp/frontdoor/deliver/index/docId/42748/file/tbhpi128.pdf" class="">https://publishup.uni-potsdam.de/opus4-ubp/frontdoor/deliver/index/docId/42748/file/tbhpi128.pdf</a></div><div class="" style="font-family: Menlo-Regular;">I red a little part of it, it is good for background info, but it does not enter into the deep technical implementation details. </div><div class="" style="font-family: Menlo-Regular;">=> So, this would be very hard to attack for a Squeak newcomer.</div><div class="" style="font-family: Menlo-Regular;"> </div><div class="" style="font-family: Menlo-Regular;">bye</div><div class="" style="font-family: Menlo-Regular;">Nicola</div><div class="" style="font-family: Menlo-Regular;"><br class=""></div><div class="" style="font-family: Menlo-Regular;"><br class=""></div><div class="" style="font-family: Menlo-Regular;"><br class=""></div><div class="" style="font-family: Menlo-Regular;"><br class=""></div><div class="" style="font-family: Menlo-Regular;"><br class=""></div><div class="" style="font-family: Menlo-Regular;">==============</div></div><div class=""><br class=""></div><div class=""><img apple-inline="yes" id="BBA43032-F24D-41FA-AE83-929A0A96BF37" width="640" height="385" src="cid:5BF2E747-263F-4D2D-9210-BDEE5769D858" class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><img apple-inline="yes" id="34BBF77C-3EC0-43B5-A988-ECC559F8C716" width="640" height="401" src="cid:0253896E-6859-4D09-8E95-9C93644C0805" class=""></div><div class=""><br class=""></div><br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On Dec 7, 2019, at 11:19 AM, tim Rowledge <<a href="mailto:tim@rowledge.org" class="">tim@rowledge.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class=""><br class=""><br class=""><blockquote type="cite" class="">On 2019-12-07, at 8:12 AM, Tobias Pape <<a href="mailto:Das.Linux@gmx.de" class="">Das.Linux@gmx.de</a>> wrote:<br class=""><br class=""><br class=""><blockquote type="cite" class="">On 07.12.2019, at 14:36, Thiede, Christoph <<a href="mailto:Christoph.Thiede@student.hpi.uni-potsdam.de" class="">Christoph.Thiede@student.hpi.uni-potsdam.de</a>> wrote:<br class=""><br class="">It would be great if the Trunk image would contain more sizes of this font by default, perhaps 1 to: 72 by: 1<br class="">...<br class=""></blockquote><br class="">If only "that" wouldn't take up so much money<br class=""></blockquote><br class="">I suspect you intended to type 'memory' here, but perhaps you were indeed concerned about licensing; some fonts are certainly very license/cost encumbered.<br class=""><blockquote type="cite" class=""><br class=""><blockquote type="cite" class=""><br class="">Or could you maybe provide a dense set of generated PNGs in the release section of your repo? For all the people who don't have a mac :-)<br class=""></blockquote><br class="">Err. I am unsure whether the licenses permit that and I have no time to check.<br class=""></blockquote><br class="">There are a good number of free outline fonts available. I mentioned one source a week or three ago - <a href="http://fonts.google.com" class="">fonts.google.com</a><br class=""><br class="">Probably the best trick would be to make it easier to locate/load/process/use such fonts in normal usage. We can read TTF files pretty well (not sure if we handle all the skeleton hinting etc) and produce font glyphs at specific sizes. Caching them efficiently shouldn't be beyond the skills of such an impressive bunch of programmers. We could save the glyph data out as image segments in much the same way that we cache local MC files. Waaaaaay back in the last millennium we (as in 'exobox') did that and loading the glyphs for maybe 50 fonts/sizes from image segments took a small fraction of a second on the cheapest x86 machines of the era. Even waaaaay-er (is that word? It is now) back in time Acorn did a related thing for high quality fonts for RISC OS; render the glyphs as needed on a per-character basis, and render them separately for sub-pixle positioning. We could easily manage quarter-pixel positioning that way - remember, the Acorn machines had at max 4mb ram. we have code in the image already to do sub-pixle rendering, or at least the preferences to select it!<br class=""><br class=""><br class="">tim<br class="">--<br class="">tim Rowledge; <a href="mailto:tim@rowledge.org" class="">tim@rowledge.org</a>; <a href="http://www.rowledge.org/tim" class="">http://www.rowledge.org/tim</a><br class="">Artificial Intelligence:  Making computers behave like they do in the movies.<br class=""><br class=""><br class=""><br class=""></div></div></blockquote></div><br class=""></body></html>