[squeak-dev] The Trunk: System-mt.1302.mcz

Marcel Taeumel marcel.taeumel at hpi.de
Fri Apr 8 07:47:57 UTC 2022


If with "this" you are referring to the postscript, it had the better position in the update map. I did not want to fiddle around with the current order.

Best,
Marcel
Am 05.04.2022 18:45:49 schrieb christoph.thiede at student.hpi.uni-potsdam.de <christoph.thiede at student.hpi.uni-potsdam.de>:
Hi Marcel,

just out of curiosity, why did you push this to the Systems package? Is this to avoid any dependency between TrueType/Graphics? :-)

Best,
Christoph

---
Sent from Squeak Inbox Talk [https://github.com/hpi-swa-lab/squeak-inbox-talk]

On 2022-02-05T15:08:52+00:00, commits at source.squeak.org wrote:

> Marcel Taeumel uploaded a new version of System to project The Trunk:
> http://source.squeak.org/trunk/System-mt.1302.mcz
>
> ==================== Summary ====================
>
> Name: System-mt.1302
> Author: mt
> Time: 5 February 2022, 4:08:47.918491 pm
> UUID: 947ea0f6-19a2-1147-aefe-55f0b773544b
> Ancestors: System-mt.1301
>
> Tweaks Accujen point size. Resets recommended #extraScale for our BitstreamVera fonts, optimized for 75% to 150% scale factor. Update all texts to use the recommended #extraGap in each TrueType font.
>
> Note that you can adjust #extraScale and #extraGap in each TrueType font family via Help > Font Size Summary or About Squeak > Image Fonts. Also see #chooseExtraScale and #chooseExtraGap.
>
> =============== Diff against System-mt.1301 ===============
>
> Item was changed:
> + (PackageInfo named: 'System') postscript: '"Fixes Accujen point sizes."
> + (TextStyle named: #Accujen) ifNotNil: [:style |
> +     (style fontArray at: 2) pointSize: 9.5.
> +     (style fontArray at: 3) pointSize: 11.0].
> - (PackageInfo named: 'System') postscript: '"Add missing sTypo values for our Bitstream Vera fonts."
> - TTFontDescription allInstancesDo: [:ea | (ea familyName beginsWith: ''Bitstream Vera'')
> -     ifTrue: [ea setTypographicAscender: 1556 descender: -492 lineGap: 410 ]].
>
> + "Reset extraScale for BitstreamVera fonts."
> + TTCFont allSubInstancesDo: [:ea | | tt | ((tt := ea ttcDescription) familyName beginsWith: ''Bitstream Vera'') ifTrue: [tt instVarNamed: #extraScale put: nil]].
> +
> + "Update #leading in all text styles using the default font''s #lineGap. Also remove all cached glyphs. Supports #extraGap now."
> - "Update #leading in all text styles using the default font''s #lineGap. Also remove all cached glyphs."
> AbstractFont allSubInstancesDo: [ :font | font pixelsPerInchChanged ].
> TextStyle allInstancesDo: [ :style | style pixelsPerInchChanged ].
> + '!
> -
> - "Fix default font sizes in existing text styles according to the current UserInterfaceTheme."
> - UserInterfaceTheme current installSystemFont: TextStyle defaultFont.'!
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20220408/b90ceed8/attachment.html>


More information about the Squeak-dev mailing list