[dev-context] font-ini.mkvi: \definefrozenfont

Wolfgang Schuster schuster.wolfgang at googlemail.com
Sun Jan 8 19:03:19 CET 2012


Am 08.01.2012 um 18:09 schrieb Hans Hagen:

> On 8-1-2012 15:18, Wolfgang Schuster wrote:
>> Hi Hans,
>> 
>> is there any reason to keep \definefrozenfont because it doesn’t work.
>> 
>> \definefrozenfont[test][Sans sa 1]
>> 
>> \starttext
>> 
>> \test Test % \expandafter\let\csname\lastfontidentifier\expandafter\endcsname\csname\rawfontidentifier\endcsname
>> 
>> \switchtobodyfont[20pt]
>> 
>> \test Test
>> 
>> \stoptext
> 
> \def\font_basics_define_frozen_font[#name][#specification][#settings]%
>  {\begingroup
>   \font_basics_define_font[#name][#specification][#settings]%
>   \csname#name\endcsname
>   \expandafter\endgroup
>   \expandafter\let\csname#name\endcsname\lastrawfontcall}
> 
> of course one might wonder if it ever gets used

I don’t think so because this bug is also in the mkii code.

Wolfgang


More information about the dev-context mailing list