ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Type 1 font loading with new beta
@ 2012-01-16 22:00 Willi Egger
  2012-01-16 22:11 ` Wolfgang Schuster
  0 siblings, 1 reply; 3+ messages in thread
From: Willi Egger @ 2012-01-16 22:00 UTC (permalink / raw)
  To: NTG-Context ConTeXt users

Hi font gurus,

With context from begin of the year it worked to load a type 1 font with a typescript based on the following syntax:

\starttypescript [serif] [LTpalatino] [name]
	\usetypescript[serif][fallback]
	\definefontsynonym [Serif] [file:pr]
	\definefontsynonym [SerifItalic][file:poios]
	\definefontsynonym [SerifBold][file:pb]
	\definefontsynonym [SerifCaps][file:posc]
       \definefontsynonym [SerifBoldOsF][file:pobos]
      \definefontvariant [Serif][osf][OsF]
\stoptypescript

\starttypescript[LT-Palatino]
	\definetypeface [LT-Palatino][rm][serif][LTpalatino][default][]
\stoptypescript 

Error:

\232>28 ...oldOsF][file:pobos] \definefontvariant 
                                                  [Serif][osf][OsF] \stoptyp...
<inserted text> \232>28 
                        \232>29 
\font_typescript_process_typescript_file_and_store ...
                                                  
\font_typescripts_load_file ...ipt_file_and_store 
                                                  \else \font_typescript_pro...
\next2 #1,->\font_typescripts_load_file {#1}
                                            \syst_helpers_do_process_comma_i...
...
l.18 \setupbodyfont
                   [LT-Palatino,rm,10pt]

Is due to the overhauling the approach now different?

Kind regards

Willi
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Type 1 font loading with new beta
  2012-01-16 22:00 Type 1 font loading with new beta Willi Egger
@ 2012-01-16 22:11 ` Wolfgang Schuster
  2012-01-17 12:45   ` Willi Egger
  0 siblings, 1 reply; 3+ messages in thread
From: Wolfgang Schuster @ 2012-01-16 22:11 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 16.01.2012 um 23:00 schrieb Willi Egger:

> Hi font gurus,
> 
> With context from begin of the year it worked to load a type 1 font with a typescript based on the following syntax:
> 
> \starttypescript [serif] [LTpalatino] [name]
> 	\usetypescript[serif][fallback]
> 	\definefontsynonym [Serif] [file:pr]
> 	\definefontsynonym [SerifItalic][file:poios]
> 	\definefontsynonym [SerifBold][file:pb]
> 	\definefontsynonym [SerifCaps][file:posc]
>       \definefontsynonym [SerifBoldOsF][file:pobos]
>      \definefontvariant [Serif][osf][OsF]
> \stoptypescript
> 
> \starttypescript[LT-Palatino]
> 	\definetypeface [LT-Palatino][rm][serif][LTpalatino][default][]
> \stoptypescript 
> 
> Error:
> 
> \232>28 ...oldOsF][file:pobos] \definefontvariant 
>                                                  [Serif][osf][OsF] \stoptyp...
> <inserted text> \232>28 
>                        \232>29 
> \font_typescript_process_typescript_file_and_store ...
> 
> \font_typescripts_load_file ...ipt_file_and_store 
>                                                  \else \font_typescript_pro...
> \next2 #1,->\font_typescripts_load_file {#1}
>                                            \syst_helpers_do_process_comma_i...
> ...
> l.18 \setupbodyfont
>                   [LT-Palatino,rm,10pt]
> 
> Is due to the overhauling the approach now different?

The \definefontvariant command is no longer available in MkIV because for truetype/opentype fonts it isn’t necessary.

Wolfgang
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Type 1 font loading with new beta
  2012-01-16 22:11 ` Wolfgang Schuster
@ 2012-01-17 12:45   ` Willi Egger
  0 siblings, 0 replies; 3+ messages in thread
From: Willi Egger @ 2012-01-17 12:45 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi Wolfgang,

thanks for this. Indeed it works ok! (Stupid me had edited the trypescriptfile of the wrong tree before writing yesterdays mail).

Willi
On 16 Jan 2012, at 23:11, Wolfgang Schuster wrote:

> 
> Am 16.01.2012 um 23:00 schrieb Willi Egger:
> 
>> Hi font gurus,
>> 
>> With context from begin of the year it worked to load a type 1 font with a typescript based on the following syntax:
>> 
>> \starttypescript [serif] [LTpalatino] [name]
>> 	\usetypescript[serif][fallback]
>> 	\definefontsynonym [Serif] [file:pr]
>> 	\definefontsynonym [SerifItalic][file:poios]
>> 	\definefontsynonym [SerifBold][file:pb]
>> 	\definefontsynonym [SerifCaps][file:posc]
>>      \definefontsynonym [SerifBoldOsF][file:pobos]
>>     \definefontvariant [Serif][osf][OsF]
>> \stoptypescript
>> 
>> \starttypescript[LT-Palatino]
>> 	\definetypeface [LT-Palatino][rm][serif][LTpalatino][default][]
>> \stoptypescript 
>> 
>> Error:
>> 
>> \232>28 ...oldOsF][file:pobos] \definefontvariant 
>>                                                 [Serif][osf][OsF] \stoptyp...
>> <inserted text> \232>28 
>>                       \232>29 
>> \font_typescript_process_typescript_file_and_store ...
>> 
>> \font_typescripts_load_file ...ipt_file_and_store 
>>                                                 \else \font_typescript_pro...
>> \next2 #1,->\font_typescripts_load_file {#1}
>>                                           \syst_helpers_do_process_comma_i...
>> ...
>> l.18 \setupbodyfont
>>                  [LT-Palatino,rm,10pt]
>> 
>> Is due to the overhauling the approach now different?
> 
> The \definefontvariant command is no longer available in MkIV because for truetype/opentype fonts it isn’t necessary.
> 
> Wolfgang
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the Wiki!
> 
> maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
> archive  : http://foundry.supelec.fr/projects/contextrev/
> wiki     : http://contextgarden.net
> ___________________________________________________________________________________

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-01-17 12:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-01-16 22:00 Type 1 font loading with new beta Willi Egger
2012-01-16 22:11 ` Wolfgang Schuster
2012-01-17 12:45   ` Willi Egger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).