Hello Everyone,

I am trying to fix a Palatino small caps issue using the procedure explained
here:
http://wiki.contextgarden.net/Palatino_Linotype_under_MKIV

That fix seems to be obsolete nowadays and returning errors. 

I've changed 
fonts.otf.enhancers.patches["^pala"] 
to 
fonts.handlers.otf.enhancers.patches["^pala"]
which compiles, but it does nothing.

I've also tried this variant, but that 'patch' function is never called even
though I clear my font cache every run:

\startluacode
local fonts    = fonts
local otf      = fonts.handlers.otf
local patches  = otf.enhancers.patches
local register = patches.register
local report   = patches.report

function patch (data,filename) 
    report("I am here")
    report("processing data %s", table.serialize(data))
end

register("after","prepare glyphs","^pala", patch)
\stopluacode


Any idea?

Thanks, Jan

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

Reply via email to