[squeak-dev] Re: The Trunk: Graphics-mt.363.mcz
marcel.taeumel
Marcel.Taeumel at hpi.de
Sat Aug 20 20:59:20 UTC 2016
Chris Muller-3 wrote
> Hi Marcel, I don't know if this is related, but one thing I noticed is
> that the Themeing seems to be leaking into the "my.prefs" file -- if
> you select one of the Dark themes, then save a my.prefs, then go into
> Squeak 4.6 and load prefs, some of the colors become dark...
>
> On Sat, Aug 20, 2016 at 1:30 AM, <
> commits at .squeak
> > wrote:
>> Marcel Taeumel uploaded a new version of Graphics to project The Trunk:
>> http://source.squeak.org/trunk/Graphics-mt.363.mcz
>>
>> ==================== Summary ====================
>>
>> Name: Graphics-mt.363
>> Author: mt
>> Time: 20 August 2016, 8:29:57.57726 am
>> UUID: 9d83d026-8ef5-8248-b8d3-4e88bc6ab344
>> Ancestors: Graphics-mt.362
>>
>> Fix font resetting in the face of UI themes.
>>
>> =============== Diff against Graphics-mt.362 ===============
>>
>> Item was changed:
>> ----- Method: StrikeFont class>>installDejaVu (in category 'font
>> creation') -----
>> installDejaVu
>> + "You have to re-create UI themes after doing this.
>> - "
>> StrikeFont installDejaVu
>> "
>>
>> TextConstants
>> at: 'Bitmap DejaVu Sans'
>> put: (TextStyle fontArray: (#(7 9 12 14 17 20) collect:
>> [:size | self createDejaVu: size])).
>> - Preferences restoreDefaultFonts.
>> !
>>
>> Item was changed:
>> ----- Method: StrikeFont class>>installDejaVuDark (in category 'font
>> creation') -----
>> installDejaVuDark
>> + " This is a Version of dejaVu renderd for light text on dark
>> background. You have to re-create UI themes after doing this.
>> - " This is a Version of dejaVu renderd for light text on dark
>> background.
>> StrikeFont installDejaVuDark
>> "
>>
>> TextConstants
>> at: 'Darkmap DejaVu Sans'
>> put: (TextStyle fontArray: (#(7 9 12 14 17 20) collect:
>> [:size | self createDejaVuDark: size])).
>> !
>>
>>
Which colors become dark? Can you post a screenshot?
Best,
Marcel
--
View this message in context: http://forum.world.st/The-Trunk-Graphics-mt-363-mcz-tp4912028p4912079.html
Sent from the Squeak - Dev mailing list archive at Nabble.com.
More information about the Squeak-dev
mailing list
|