Re: [NTG-context] Hanging and Protrusion with Typescript

2013-04-10 Thread H. Özoguz

Am 10.04.2013 00:44, schrieb ntg-context-requ...@ntg.nl:

I corrected your example above:

\starttypescript [serif] [nimbus]
   \definefontsynonym [Serif]   [file:AGaramondPro-Regular.otf]
   \definefontsynonym [SerifBold]   [file:AGaramondPro-Bold.otf]
   \definefontsynonym [SerifItalic] [file:AGaramondPro-Italic.otf]
   \definefontsynonym [SerifBoldItalic] [file:AGaramondPro-BoldItalic.otf]
\stoptypescript

\definefontfeature[default][default][protrusion=quality,expansion=quality]

\definetypeface [nimbus] [rm] [serif] [nimbus] [features=default]

\setupbodyfont[nimbus,rm,12pt]

\setupalign[hz,hanging]

\starttext
\input tufte
\stoptext

Wolfgang

Hi Wolfgang,

thank you. But your correction does not work, too. With your code the 
font AGaramondPro is not used, and no hanging either (even not with the 
then used Standard-Font). If I remove


[features=default]

then again Garamond is used, but still without hanging. It seems very 
tricky to define these things correctly, at least for me... :)


Thanks.
Huseyin




___
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
___


Re: [NTG-context] Hanging and Protrusion with Typescript

2013-04-10 Thread Wolfgang Schuster

Am 10.04.2013 um 10:00 schrieb H. Özoguz h.oezo...@mmnetz.de:

 Am 10.04.2013 00:44, schrieb ntg-context-requ...@ntg.nl:
 I corrected your example above:
 
 \starttypescript [serif] [nimbus]
   \definefontsynonym [Serif]   [file:AGaramondPro-Regular.otf]
   \definefontsynonym [SerifBold]   [file:AGaramondPro-Bold.otf]
   \definefontsynonym [SerifItalic] [file:AGaramondPro-Italic.otf]
   \definefontsynonym [SerifBoldItalic] [file:AGaramondPro-BoldItalic.otf]
 \stoptypescript
 
 \definefontfeature[default][default][protrusion=quality,expansion=quality]
 
 \definetypeface [nimbus] [rm] [serif] [nimbus] [features=default]
 
 \setupbodyfont[nimbus,rm,12pt]
 
 \setupalign[hz,hanging]
 
 \starttext
 \input tufte
 \stoptext
 
 Wolfgang
 Hi Wolfgang,
 
 thank you. But your correction does not work, too. With your code the font 
 AGaramondPro is not used, and no hanging either (even not with the then used 
 Standard-Font). If I remove
 
 [features=default]
 
 then again Garamond is used, but still without hanging. It seems very tricky 
 to define these things correctly, at least for me... :)


I missed a parameter for \definetypeface, replace the defintion above with this 
one:

\definetypeface [nimbus] [rm] [serif] [nimbus] [default] [features=default]

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
___

Re: [NTG-context] Hanging and Protrusion with Typescript

2013-04-10 Thread H. Özoguz

Am 10.04.2013 00:44, schrieb ntg-context-requ...@ntg.nl:

Or with the marvelous simplefonts module:

\usemodule[simplefonts]
\setmainfont[AGaramondPro][boldfont=AGaramondPro-Bold,
   italicfont=AGaramondPro-Italic, bolditalicfont=AGaramondPro-BoldItalic,
   protrusion=quality, expansion=quality]
\setupalign[hz, hanging]
\starttext
\input tufte
\stoptext


Thank your very much Peter, that works! I tried many times to get it 
work with SimpleFont, but did not know, that it is possible with 
SimpleFont to define regular, italic, bold separately.


By the way: I still do not understand, why it is not possible in ConTeXt 
(in Simplefont) just to say


\setmainfont[AGaramondPro]

and nothing more! It should identify regular, bold, italic 
automatically, like all other programms here do without problems. Or do 
I miss an important point here?


Thanks for your help.
Huseyin
___
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
___


Re: [NTG-context] Hanging and Protrusion with Typescript

2013-04-10 Thread Wolfgang Schuster

Am 10.04.2013 um 10:07 schrieb H. Özoguz h.oezo...@mmnetz.de:

 By the way: I still do not understand, why it is not possible in ConTeXt (in 
 Simplefont) just to say
 
 \setmainfont[AGaramondPro]
 
 and nothing more! It should identify regular, bold, italic automatically, 
 like all other programms here do without problems. Or do I miss an important 
 point here?

What do you get when you type this on the command  line?

mtxrun --script font --list --all --pattern=*garamond*

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
___


Re: [NTG-context] Hanging and Protrusion with Typescript

2013-04-10 Thread H. Özoguz

Am 10.04.2013 10:29, schrieb ntg-context-requ...@ntg.nl:

mtxrun --script font --list --all --pattern=*garamond*

I got this:
+++
adobegaramondpro  agaramondprobold 
c:/windows/fonts/AGaramondPro-Bold.otf
adobegaramondprobold  agaramondprobold 
c:/windows/fonts/AGaramondPro-Bold.otf
adobegaramondproitalicagaramondprobolditalic 
c:/windows/fonts/AGaramondPro-BoldItalic.otf
adobegaramondpronormalagaramondproitalic 
c:/windows/fonts/AGaramondPro-Italic.otf
adobegaramondproregular   agaramondprobold 
c:/windows/fonts/AGaramondPro-Bold.otf
agaramondprobold  agaramondprobold 
c:/windows/fonts/AGaramondPro-Bold.otf
agaramondprobolditalicagaramondprobolditalic 
c:/windows/fonts/AGaramondPro-BoldItalic.otf
agaramondproitalicagaramondproitalic 
c:/windows/fonts/AGaramondPro-Italic.otf
agaramondproregular   agaramondproregular 
c:/windows/fonts/AGaramondPro-Regular.otf
ebgaramondebgaramond08regular 
c:/windows/fonts/EBGaramond08-Regular.otf
ebgaramond08regular   ebgaramond08regular 
c:/windows/fonts/EBGaramond08-Regular.otf
ebgaramond08regularsmallcaps  ebgaramond08sc 
c:/windows/fonts/EBGaramond08-SC.otf
ebgaramond08scebgaramond08sc 
c:/windows/fonts/EBGaramond08-SC.otf
ebgaramond12allsc ebgaramond12allsc 
c:/windows/fonts/EBGaramond12-AllSC.otf
ebgaramond12allscnormal   ebgaramond12allsc 
c:/windows/fonts/EBGaramond12-AllSC.otf
ebgaramond12italicebgaramond12italic 
c:/windows/fonts/EBGaramond12-Italic.otf
ebgaramond12regular   ebgaramond12regular 
c:/windows/fonts/EBGaramond12-Regular.otf
ebgaramond12regularallsmallcaps   ebgaramond12allsc 
c:/windows/fonts/EBGaramond12-AllSC.otf
ebgaramond12regularsmallcaps  ebgaramond12sc 
c:/windows/fonts/EBGaramond12-SC.otf
ebgaramond12scebgaramond12sc 
c:/windows/fonts/EBGaramond12-SC.otf
ebgaramondinitialsebgaramondinitials 
c:/windows/fonts/EBGaramond-Initials.otf
ebgaramondinitialsf1  ebgaramondinitialsf1 
c:/windows/fonts/EBGaramond-InitialsF1.otf
ebgaramondinitialsf2  ebgaramondinitialsf2 
c:/windows/fonts/EBGaramond-InitialsF2.otf
ebgaramondinitialsfill1   ebgaramondinitialsf1 
c:/windows/fonts/EBGaramond-InitialsF1.otf
ebgaramondinitialsfill1normal ebgaramondinitialsf1 
c:/windows/fonts/EBGaramond-InitialsF1.otf
ebgaramondinitialsfill1regularebgaramondinitialsf1 
c:/windows/fonts/EBGaramond-InitialsF1.otf
ebgaramondinitialsfill2   ebgaramondinitialsf2 
c:/windows/fonts/EBGaramond-InitialsF2.otf
ebgaramondinitialsfill2normal ebgaramondinitialsf2 
c:/windows/fonts/EBGaramond-InitialsF2.otf
ebgaramondinitialsfill2regularebgaramondinitialsf2 
c:/windows/fonts/EBGaramond-InitialsF2.otf
ebgaramondinitialsnormal  ebgaramondinitials 
c:/windows/fonts/EBGaramond-Initials.otf
ebgaramondinitialsregular ebgaramondinitials 
c:/windows/fonts/EBGaramond-Initials.otf
ebgaramonditalic  ebgaramond12italic 
c:/windows/fonts/EBGaramond12-Italic.otf
ebgaramondnormal  ebgaramond08regular 
c:/windows/fonts/EBGaramond08-Regular.otf
ebgaramondregular ebgaramond08regular 
c:/windows/fonts/EBGaramond08-Regular.otf
ebgaramondsc  ebgaramond08sc 
c:/windows/fonts/EBGaramond08-SC.otf

garamond  garamond c:/windows/fonts/GARA.TTF
garamondantiqua   garamondantiqua c:/windows/fonts/91545.ttf
garamondbold  garamondbold c:/windows/fonts/GARABD.TTF
garamondhalbfett  garamondhalbfett 
c:/windows/fonts/91547.ttf

garamonditalicgaramonditalic c:/windows/fonts/GARAIT.TTF
garamondkursivgaramondkursiv c:/windows/fonts/91546.ttf
garamondkursivhalbfettgaramondkursivhalbfett 
c:/windows/fonts/91548.ttf

garamondnormalgaramondantiqua c:/windows/fonts/91545.ttf
stempelgaramondbold   stempelgaramondbold 
c:/windows/fonts/11547.ttf
stempelgaramondbolditalic stempelgaramondbolditalic 
c:/windows/fonts/11548.ttf
stempelgaramonditalic stempelgaramonditalic 
c:/windows/fonts/11546.ttf
stempelgaramondroman  stempelgaramondroman 
c:/windows/fonts/11545.ttf
stempelgaramondromanbold  stempelgaramondbold 
c:/windows/fonts/11547.ttf
stempelgaramondromanbolditalicstempelgaramondbolditalic 
c:/windows/fonts/11548.ttf
stempelgaramondromanitalicstempelgaramonditalic 
c:/windows/fonts/11546.ttf
stempelgaramondromannormalstempelgaramondroman 
c:/windows/fonts/11545.ttf

++

Maybe too many different garamonds?

Another interesting question: I compared the results using the 
Simplefont solution and your Typescript solution, both with hanging. 
Both works, but it is not the same 

Re: [NTG-context] Hanging and Protrusion with Typescript

2013-04-10 Thread Wolfgang Schuster

Am 10.04.2013 um 10:46 schrieb H. Özoguz h.oezo...@mmnetz.de:

 Am 10.04.2013 10:29, schrieb ntg-context-requ...@ntg.nl:
 mtxrun --script font --list --all --pattern=*garamond*
 I got this:
 +++
 adobegaramondpro  agaramondprobold
 c:/windows/fonts/AGaramondPro-Bold.otf
 adobegaramondprobold  agaramondprobold
 c:/windows/fonts/AGaramondPro-Bold.otf
 adobegaramondproitalicagaramondprobolditalic  
 c:/windows/fonts/AGaramondPro-BoldItalic.otf
 adobegaramondpronormalagaramondproitalic  
 c:/windows/fonts/AGaramondPro-Italic.otf
 adobegaramondproregular   agaramondprobold
 c:/windows/fonts/AGaramondPro-Bold.otf
 agaramondprobold  agaramondprobold
 c:/windows/fonts/AGaramondPro-Bold.otf
 agaramondprobolditalicagaramondprobolditalic  
 c:/windows/fonts/AGaramondPro-BoldItalic.otf
 agaramondproitalicagaramondproitalic  
 c:/windows/fonts/AGaramondPro-Italic.otf
 agaramondproregular   agaramondproregular 
 c:/windows/fonts/AGaramondPro-Regular.otf
 ebgaramondebgaramond08regular 
 c:/windows/fonts/EBGaramond08-Regular.otf
 ebgaramond08regular   ebgaramond08regular 
 c:/windows/fonts/EBGaramond08-Regular.otf
 ebgaramond08regularsmallcaps  ebgaramond08sc  
 c:/windows/fonts/EBGaramond08-SC.otf
 ebgaramond08scebgaramond08sc  
 c:/windows/fonts/EBGaramond08-SC.otf
 ebgaramond12allsc ebgaramond12allsc   
 c:/windows/fonts/EBGaramond12-AllSC.otf
 ebgaramond12allscnormal   ebgaramond12allsc   
 c:/windows/fonts/EBGaramond12-AllSC.otf
 ebgaramond12italicebgaramond12italic  
 c:/windows/fonts/EBGaramond12-Italic.otf
 ebgaramond12regular   ebgaramond12regular 
 c:/windows/fonts/EBGaramond12-Regular.otf
 ebgaramond12regularallsmallcaps   ebgaramond12allsc   
 c:/windows/fonts/EBGaramond12-AllSC.otf
 ebgaramond12regularsmallcaps  ebgaramond12sc  
 c:/windows/fonts/EBGaramond12-SC.otf
 ebgaramond12scebgaramond12sc  
 c:/windows/fonts/EBGaramond12-SC.otf
 ebgaramondinitialsebgaramondinitials  
 c:/windows/fonts/EBGaramond-Initials.otf
 ebgaramondinitialsf1  ebgaramondinitialsf1
 c:/windows/fonts/EBGaramond-InitialsF1.otf
 ebgaramondinitialsf2  ebgaramondinitialsf2
 c:/windows/fonts/EBGaramond-InitialsF2.otf
 ebgaramondinitialsfill1   ebgaramondinitialsf1
 c:/windows/fonts/EBGaramond-InitialsF1.otf
 ebgaramondinitialsfill1normal ebgaramondinitialsf1
 c:/windows/fonts/EBGaramond-InitialsF1.otf
 ebgaramondinitialsfill1regularebgaramondinitialsf1
 c:/windows/fonts/EBGaramond-InitialsF1.otf
 ebgaramondinitialsfill2   ebgaramondinitialsf2
 c:/windows/fonts/EBGaramond-InitialsF2.otf
 ebgaramondinitialsfill2normal ebgaramondinitialsf2
 c:/windows/fonts/EBGaramond-InitialsF2.otf
 ebgaramondinitialsfill2regularebgaramondinitialsf2
 c:/windows/fonts/EBGaramond-InitialsF2.otf
 ebgaramondinitialsnormal  ebgaramondinitials  
 c:/windows/fonts/EBGaramond-Initials.otf
 ebgaramondinitialsregular ebgaramondinitials  
 c:/windows/fonts/EBGaramond-Initials.otf
 ebgaramonditalic  ebgaramond12italic  
 c:/windows/fonts/EBGaramond12-Italic.otf
 ebgaramondnormal  ebgaramond08regular 
 c:/windows/fonts/EBGaramond08-Regular.otf
 ebgaramondregular ebgaramond08regular 
 c:/windows/fonts/EBGaramond08-Regular.otf
 ebgaramondsc  ebgaramond08sc  
 c:/windows/fonts/EBGaramond08-SC.otf
 garamond  garamond
 c:/windows/fonts/GARA.TTF
 garamondantiqua   garamondantiqua 
 c:/windows/fonts/91545.ttf
 garamondbold  garamondbold
 c:/windows/fonts/GARABD.TTF
 garamondhalbfett  garamondhalbfett
 c:/windows/fonts/91547.ttf
 garamonditalicgaramonditalic  
 c:/windows/fonts/GARAIT.TTF
 garamondkursivgaramondkursiv  
 c:/windows/fonts/91546.ttf
 garamondkursivhalbfettgaramondkursivhalbfett  
 c:/windows/fonts/91548.ttf
 garamondnormalgaramondantiqua 
 c:/windows/fonts/91545.ttf
 stempelgaramondbold   stempelgaramondbold 
 c:/windows/fonts/11547.ttf
 stempelgaramondbolditalic stempelgaramondbolditalic   
 c:/windows/fonts/11548.ttf
 stempelgaramonditalic stempelgaramonditalic   
 c:/windows/fonts/11546.ttf
 stempelgaramondroman  stempelgaramondroman  

Re: [NTG-context] Hanging and Protrusion with Typescript

2013-04-10 Thread H. Özoguz

Am 10.04.2013 11:27, schrieb ntg-context-requ...@ntg.nl:

This is no problem because they have different names, you can try the following 
example:

\usemodule[simplefonts]

\setmainfont[Garamond]
%\setmainfont[Adobe Garamond Pro]
%\setmainfont[AGaramondPro]
%\setmainfont[EBGaramond]
%\setmainfont[Stempel Garamond]

\starttext
Regular, \it Italic, \bf Bold and \bi Bolditalic.
\stoptext

With

\setmainfont[AGaramondPro]

it works! The first and second does not work.




Another interesting question: I compared the results using the Simplefont solution and your Typescript solution, both 
with hanging. Both works, but it is not the same output. It seems, that with Simplefont it is nicer, in the 
following sence: The distance between a capital of a beginning word to the next letter it better typed, f.e. in Hans 
Meier the distance of H to ans could be too much in the typescript example, but is perfect 
with Simplefont.

Where does this difference in typography between Typescript and Simplefont 
comes from?

Maybe a kerning issue, you can add \showfontkerns at the begin of your document 
to visualize the kerning.

Wolfgang


\showfontkerns works with Simplefont, but not with Typescript. More 
precisely:


This shows kerning:
+
\showfontkerns

\usemodule[simplefonts]

\setmainfont[AGaramondPro][boldfont=AGaramondPro-Bold,

italicfont=AGaramondPro-Italic, bolditalicfont=AGaramondPro-BoldItalic,

protrusion=quality, expansion=quality]

\setupalign[hz, hanging]


\starttext

\input tufte

\stoptext

++


But this one not:

+

\showfontkerns

\starttypescript [serif] [nimbus]

\definefontsynonym [Serif] [file:AGaramondPro-Regular.otf]

\definefontsynonym [SerifBold] [file:AGaramondPro-Bold.otf]

\definefontsynonym [SerifItalic] [file:AGaramondPro-Italic.otf]

\definefontsynonym [SerifBoldItalic] [file:AGaramondPro-BoldItalic.otf]

\stoptypescript


\definefontfeature[default][default][protrusion=quality,expansion=quality]

\definetypeface [nimbus] [rm] [serif] [nimbus] [default] [features=default]

\setupbodyfont[nimbus,rm,12pt]

\setupalign[hz,hanging]


\starttext

\input tufte

\stoptext



Where the mistake?

And independent from that: That the kerning is different, is for sure 
(by visual inspection). How can the showing in numbers (showkerning) 
help to understand the reason for this difference? (Just interested to 
learn more about ConTeXt, of course I am not able to fix anything or 
understand it by myself).


Huseyin





___
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
___


Re: [NTG-context] Hanging and Protrusion with Typescript

2013-04-10 Thread Wolfgang Schuster

Am 10.04.2013 um 11:56 schrieb H. Özoguz h.oezo...@mmnetz.de:

 Am 10.04.2013 11:27, schrieb ntg-context-requ...@ntg.nl:
 This is no problem because they have different names, you can try the 
 following example:
 
 \usemodule[simplefonts]
 
 \setmainfont[Garamond]
 %\setmainfont[Adobe Garamond Pro]
 %\setmainfont[AGaramondPro]
 %\setmainfont[EBGaramond]
 %\setmainfont[Stempel Garamond]
 
 \starttext
 Regular, \it Italic, \bf Bold and \bi Bolditalic.
 \stoptext
 With
 
 \setmainfont[AGaramondPro]
 
 it works! The first and second does not work.
 
 
 Another interesting question: I compared the results using the Simplefont 
 solution and your Typescript solution, both with hanging. Both works, but 
 it is not the same output. It seems, that with Simplefont it is nicer, 
 in the following sence: The distance between a capital of a beginning word 
 to the next letter it better typed, f.e. in Hans Meier the distance of 
 H to ans could be too much in the typescript example, but is perfect 
 with Simplefont.
 
 Where does this difference in typography between Typescript and Simplefont 
 comes from?
 Maybe a kerning issue, you can add \showfontkerns at the begin of your 
 document to visualize the kerning.
 
 Wolfgang
 
 \showfontkerns works with Simplefont, but not with Typescript. More precisely:
 
 This shows kerning:
 +
 \showfontkerns
 
 \usemodule[simplefonts]
 
 \setmainfont[AGaramondPro][boldfont=AGaramondPro-Bold,
 
 italicfont=AGaramondPro-Italic, bolditalicfont=AGaramondPro-BoldItalic,
 
 protrusion=quality, expansion=quality]
 
 \setupalign[hz, hanging]
 
 
 \starttext
 
 \input tufte
 
 \stoptext
 
 ++
 
 
 But this one not:
 
 +
 
 \showfontkerns
 
 \starttypescript [serif] [nimbus]
 
 \definefontsynonym [Serif] [file:AGaramondPro-Regular.otf]
 
 \definefontsynonym [SerifBold] [file:AGaramondPro-Bold.otf]
 
 \definefontsynonym [SerifItalic] [file:AGaramondPro-Italic.otf]
 
 \definefontsynonym [SerifBoldItalic] [file:AGaramondPro-BoldItalic.otf]
 
 \stoptypescript
 
 
 \definefontfeature[default][default][protrusion=quality,expansion=quality]
 
 \definetypeface [nimbus] [rm] [serif] [nimbus] [default] [features=default]
 
 \setupbodyfont[nimbus,rm,12pt]
 
 \setupalign[hz,hanging]
 
 
 \starttext
 
 \input tufte
 
 \stoptext
 
 
 
 Where the mistake?
 
 And independent from that: That the kerning is different, is for sure (by 
 visual inspection). How can the showing in numbers (showkerning) help to 
 understand the reason for this difference? (Just interested to learn more 
 about ConTeXt, of course I am not able to fix anything or understand it by 
 myself).

Can you add “mode=node” to \definefontfeature in the typescript based solution.

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
___


Re: [NTG-context] Hanging and Protrusion with Typescript

2013-04-10 Thread H. Özoguz



Can you add “mode=node” to \definefontfeature in the typescript based solution.


Ok, now the kerning is exactly the same, what does mode=node do?

Huseyin

___
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
___

Re: [NTG-context] Hanging and Protrusion with Typescript

2013-04-10 Thread Wolfgang Schuster

Am 10.04.2013 um 12:59 schrieb H. Özoguz h.oezo...@mmnetz.de:

 
 Can you add “mode=node” to \definefontfeature in the typescript based 
 solution.
 
 Ok, now the kerning is exactly the same, what does mode=node do?

Read chapter 2 of Hans new font manual: http://www.pragma-ade.nl/show-man-54.htm

@Hans: In section 2.1 of the manual you wrote the “node” mode as “mode”.

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
___


Re: [NTG-context] Hanging and Protrusion with Typescript

2013-04-10 Thread Hans Hagen

On 4/10/2013 11:00 PM, Wolfgang Schuster wrote:


Am 10.04.2013 um 12:59 schrieb H. Özoguz h.oezo...@mmnetz.de:




Can you add “mode=node” to \definefontfeature in the typescript based solution.


Ok, now the kerning is exactly the same, what does mode=node do?


Read chapter 2 of Hans new font manual: http://www.pragma-ade.nl/show-man-54.htm

@Hans: In section 2.1 of the manual you wrote the “node” mode as “mode”.


ok, fixed but not upload yet

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
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
___


Re: [NTG-context] Hanging and Protrusion with Typescript

2013-04-09 Thread Hans Hagen

On 4/9/2013 3:10 PM, H. Özoguz wrote:

Hi there,

normally I use simplefont, with protrusion and typescript. But
Simplefont does not recognize the regular, italic, and bold of
AdobeGaramondPro correctly by default. So I tried to work with a
typescript definition, and it works - with the exception of hanging (and
protrusion?). This is my example:


Best look into some type-imp files to see how typescript are defined.


+++
\enableregime[utf]


^^ not needed



\starttypescript [serif] [nimbus]

\definefontsynonym [Serif] [file:AGaramondPro-Regular.otf]

\definefontsynonym [SerifBold] [file:AGaramondPro-Bold.otf]

\definefontsynonym [SerifItalic] [file:AGaramondPro-Italic.otf]

\definefontsynonym [SerifBoldItalic] [file:AGaramondPro-BoldItalic.otf]

\stoptypescript


what features? maybe add *default or so ... depends on how general 
definitions are




\definetypeface [nimbus] [rm] [serif] [nimbus]


\definefontfeature

[default]

[default]

[protrusion=quality,expansion=quality]


should come before \definetypeface



\setupalign[hz,hanging]

\setupbodyfont[nimbus,rm,12pt]


\starttext

\input tufte

\stoptext
+


The Font is correctly used by ConText, but no hanging is applied. How to
achieve that?

Thanks.

Huseyin

___

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
___




--

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
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
___


Re: [NTG-context] Hanging and Protrusion with Typescript

2013-04-09 Thread H. Özoguz




Best look into some type-imp files to see how typescript are defined. 


I looked in the wiki, and my minexample is from the wiki, too. What is a 
type-imp?


So I changed the code into:
+++
\starttypescript [serif] [nimbus]

\definefontsynonym [Serif] [file:AGaramondPro-Regular.otf]

\definefontsynonym [SerifBold] [file:AGaramondPro-Bold.otf]

\definefontsynonym [SerifItalic] [file:AGaramondPro-Italic.otf]

\definefontsynonym [SerifBoldItalic] [file:AGaramondPro-BoldItalic.otf]

\stoptypescript



\definefontfeature

[default]

[default]

[protrusion=quality,expansion=quality]


\setupalign[hz,hanging]

\setupbodyfont[nimbus,rm,12pt]


\definetypeface [nimbus] [rm] [serif] [nimbus]


\starttext

\input tufte

\stoptext



Hanging is now activated, but not with the defined font AGaramondPro, 
but with Computer Modern, so now the typescript is not accepted. So 
changing the command orders does not help, at least not alone.



Sorry, I did not understand, what you mean with
what features? maybe add *default or so ... depends on how general 
definitions are.



Which features do you mean, and what is the question? I simply copied 
this from the wiki, and hoped that I could use AdobeGaramond now. It 
works, but not together with Hanging.





___
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
___


Re: [NTG-context] Hanging and Protrusion with Typescript

2013-04-09 Thread Wolfgang Schuster

Am 09.04.2013 um 21:45 schrieb H. Özoguz h.oezo...@mmnetz.de:

 
 
 Best look into some type-imp files to see how typescript are defined. 
 
 I looked in the wiki, and my minexample is from the wiki, too. What is a 
 type-imp?

Hans speaks of the type-imp-texgyre.mkiv, type-imp-latinmodern.mkiv etc. files

 So I changed the code into:
 +++
 \starttypescript [serif] [nimbus]
 
 \definefontsynonym [Serif] [file:AGaramondPro-Regular.otf]
 
 \definefontsynonym [SerifBold] [file:AGaramondPro-Bold.otf]
 
 \definefontsynonym [SerifItalic] [file:AGaramondPro-Italic.otf]
 
 \definefontsynonym [SerifBoldItalic] [file:AGaramondPro-BoldItalic.otf]
 
 \stoptypescript
 
 
 
 \definefontfeature
 
 [default]
 
 [default]
 
 [protrusion=quality,expansion=quality]
 
 
 \setupalign[hz,hanging]
 
 \setupbodyfont[nimbus,rm,12pt]
 
 
 \definetypeface [nimbus] [rm] [serif] [nimbus]
 
 
 \starttext
 
 \input tufte
 
 \stoptext
 
 
 
 Hanging is now activated, but not with the defined font AGaramondPro, but 
 with Computer Modern, so now the typescript is not accepted. So changing the 
 command orders does not help, at least not alone.

You tried to load your nimbus font before it was defined, move \definetypeface 
*before* \setupbodyfont to make it work.

 Sorry, I did not understand, what you mean with
 what features? maybe add *default or so ... depends on how general 
 definitions are.

You need [features=default] either at the end of each \definefontsynonym 
command or at the end of \definetypeface.

 Which features do you mean, and what is the question? I simply copied this 
 from the wiki, and hoped that I could use AdobeGaramond now. It works, but 
 not together with Hanging.


I corrected your example above:

\starttypescript [serif] [nimbus]
  \definefontsynonym [Serif]   [file:AGaramondPro-Regular.otf]
  \definefontsynonym [SerifBold]   [file:AGaramondPro-Bold.otf]
  \definefontsynonym [SerifItalic] [file:AGaramondPro-Italic.otf]
  \definefontsynonym [SerifBoldItalic] [file:AGaramondPro-BoldItalic.otf]
\stoptypescript

\definefontfeature[default][default][protrusion=quality,expansion=quality]

\definetypeface [nimbus] [rm] [serif] [nimbus] [features=default]

\setupbodyfont[nimbus,rm,12pt]

\setupalign[hz,hanging]

\starttext
\input tufte
\stoptext

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
___


Re: [NTG-context] Hanging and Protrusion with Typescript

2013-04-09 Thread Peter Münster
On Tue, Apr 09 2013, Wolfgang Schuster wrote:

 \starttypescript [serif] [nimbus]
   \definefontsynonym [Serif]   [file:AGaramondPro-Regular.otf]
   \definefontsynonym [SerifBold]   [file:AGaramondPro-Bold.otf]
   \definefontsynonym [SerifItalic] [file:AGaramondPro-Italic.otf]
   \definefontsynonym [SerifBoldItalic] [file:AGaramondPro-BoldItalic.otf]
 \stoptypescript

 \definefontfeature[default][default][protrusion=quality,expansion=quality]

 \definetypeface [nimbus] [rm] [serif] [nimbus] [features=default]

 \setupbodyfont[nimbus,rm,12pt]

 \setupalign[hz,hanging]

 \starttext
 \input tufte
 \stoptext

Or with the marvelous simplefonts module:

\usemodule[simplefonts]
\setmainfont[AGaramondPro][boldfont=AGaramondPro-Bold,
  italicfont=AGaramondPro-Italic, bolditalicfont=AGaramondPro-BoldItalic,
  protrusion=quality, expansion=quality]
\setupalign[hz, hanging]
\starttext
\input tufte
\stoptext

;)

-- 
   Peter
___
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
___