Hans Hagen schrieb:
Peter Rolf wrote:
Hi,
for my overprinting macro I need the actual font size (no overprinting if size is greater 23pt). After searching and a lot of tries I found
\scaledfont (mkii) and \somefontsize (mkiv),
which seem to show the right values. Both macros are bound exclusively to only one mark. Is there a better (more generic and mark independent) way?
we can add
\def\somefontsize{\scaledfont}
to mkii
sounds good.
is there more?
no. also i'm not far away from the point, where i finally skip mkii (too time-consuming to maintain both marks). currently mkii support is only a fallback in case of luatex problems (which i probably don't need anymore). thanks Hans!
(i'm not going to retrofit all 'improvements' from mkiv to mkii; for instance there are couple of speedups in mkiv helpers)
Hans
----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________
-- "Es ist doch ein Trost, das Geldgier manchmal blöd macht." - Kottan in "Kottan ermittelt", Folge 9: "Die Einteilung" -