Why do you want to add font metrics to the preferences? That is information that the GUI toolkit should produce automatically.
Look here:
https://github.com/pure-data/pure-data/wiki/Crossplatform-font-metrics-&...
Here it is shown the diff between Vanilla & extended:http://lucarda.com.ar/x/Van-Ext-diff.jpg There are chances that you may prefer one of these 2 settings, depending on your amount of patches done on Vanilla or Extended.
I get that. But you are taking an internal format passed between the GUI and the core and exposing it to become a public API. And that format virtually guarantees that users will misunderstand how it works: "I told Pd to make the 12pt font 7x15 pixels, but it is isn't 7x15. Is this a bug?" -Jonathan
Of course this could be set outside of the preferences on a separate file. Mensaje telepatico asistido por maquinas.
From: Jonathan Wilkes jancsika@yahoo.com Sent: Monday, February 20, 2017 2:55 PM To: Lucas Cordiviola; pd-list@lists.iem.at Subject: Re: [PD] (wip) Preferences file. > Ok, Thanx for the detalis.
Anyway before concluding this thread I must said that this year I've been connecting the pref.file to 2 things: Purr-Data : https://lists.puredata.info/pipermail/pd-list/2017-01/117407.html%3E Deken : If necessary the pref.file can hold the deken path.for.externals. And most importantly I connected the pref.file cuz Miller announced it this year for Win & Mac. Do you think there's need to add a couple of things to the actual prefs? Font metrics?
Why do you want to add font metrics to the preferences? That is information that the GUI toolkit should produce automatically.
-Jonathan
Deken path?
Salutti,Lucarda.
Mensaje telepatico asistido por maquinas.