ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Palatino patch for the current ConTeXt version
@ 2013-11-17 11:23 honyk
  0 siblings, 0 replies; 9+ messages in thread
From: honyk @ 2013-11-17 11:23 UTC (permalink / raw)
  To: 'mailing list for ConTeXt users'

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
___________________________________________________________________________________


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

end of thread, other threads:[~2013-12-21 10:02 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <001a01cee387$691cd370$3b567a50$@tosovsky@email.cz>
2013-11-17 11:44 ` Palatino patch for the current ConTeXt version Hans Hagen
2013-11-26 23:40   ` Jan Tosovsky
     [not found]   ` <008801ceeb00$db41e820$91c5b860$@tosovsky@email.cz>
2013-11-27  8:37     ` Hans Hagen
2013-11-27 20:16       ` Jan Tosovsky
     [not found]       ` <00b901ceebad$900fb0a0$b02f11e0$@tosovsky@email.cz>
2013-11-27 20:55         ` Hans Hagen
2013-11-29 19:44           ` Jan Tosovsky
2013-12-01  8:40 ` Jan Tosovsky
2013-12-21 10:02 ` Jan Tosovsky
2013-11-17 11:23 honyk

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).