The Trunk: Graphics-mt.363.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

The Trunk: Graphics-mt.363.mcz

commits-2
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])).
  !


Reply | Threaded
Open this post in threaded view
|

Re: The Trunk: Graphics-mt.363.mcz

Chris Muller-3
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,  <[hidden email]> 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])).
>   !
>
>

Reply | Threaded
Open this post in threaded view
|

Re: The Trunk: Graphics-mt.363.mcz

marcel.taeumel
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,  <[hidden email]> 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
Reply | Threaded
Open this post in threaded view
|

Re: The Trunk: Graphics-mt.363.mcz

Chris Muller-3
Menus were the only thing I noticed.

On Sat, Aug 20, 2016 at 3:59 PM, marcel.taeumel <[hidden email]> wrote:

> 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,  &lt;
>
>> commits@.squeak
>
>> &gt; 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.
>