|
From: Allin C. <cot...@wf...> - 2007-11-26 22:44:17
|
On Mon, 26 Nov 2007, Ethan Merritt wrote: > On Monday 26 November 2007 11:44, you wrote: > > On Mon, 26 Nov 2007, Ethan Merritt wrote: > > > > > > Is there an advantage to having this be a function call, rather > > > than simply exporting the scale itself in TERM_TABLE? > > > > As I understand it, yes. For pngcairo, there's at present a > > hard-wired oversampling scale of 20, *if* oversampling is used. > > I believe it's always used at present, but in principle this could > > be user-configurable or otherwise depend on things at run time. Hans has put me right: I had thought of TERM_TABLE entries as constants but I was wrong. However, it seems to me easier to add a function pointer at the end of the table: that way no *.trm code needs to be touched unless the term wants to offer a scale factor. Allin Cottrell |