On Jan 26, 2020, at 12:00 PM, pd-list-request@lists.iem.at wrote:
As far as my cross-platofrms issues, I guess things don't look that much terrible at all if we have actual different fonts for iemgui labels. But now that I know about it, it annoys me that other fonts besides DejaVu Sans Mono aren't really there.
The "Times" and "Helvetica" font-families are more, or less, standard on most platforms and fall back to near-equivalent "Serif" and "Sans-Serif" fonts. This has been well-established for a while and also holds true as both of these are considered "web-safe font" families, ie. more or less guaranteed to be available on most web browsers: https://www.w3schools.com/cssref/css_websafe_fonts.asp https://www.w3schools.com/cssref/css_websafe_fonts.asp
"Times New Roman", Times, serif
Arial, Helvetica, sans-serif
What you are probably seeing is that those *specific* fonts are not always available due to licensing, as buying macOS or Windows usually includes licensing for some 3rd party fonts while using a free system may not, a fall back is provided that is similar but not exactly the same.
Perhaps this can be taken care just by mentioning in the documentation somewhere (if you don't have times/helvetica installed, similar fonts are loaded).
It could be added to the existing font/README.txt: https://github.com/pure-data/pure-data/blob/master/font/README.txt https://github.com/pure-data/pure-data/blob/master/font/README.txt
It doesn't seem worth doing more than that and trying to ship the same group of 3 fonts like we're doing with dejavu, right?
We could do that by shipping DejaVu Sans and DejaVu Serif https://dejavu-fonts.github.io https://dejavu-fonts.github.io/
"DejaVu Serif", "Times New Roman", Times, serif
"DejaVu Sans", Arial, Helvetica, sans-serif
Or, alternatively, choose a "safer fonts" than Helvetica and Times but I feel that will still not guarantee as close a match as using the exact same font on all platforms. As we have seen, it's working relatively well with DejaVu Sans Mono.
Dan Wilcox @danomatika http://twitter.com/danomatika danomatika.com http://danomatika.com/ robotcowboy.com http://robotcowboy.com/
Em dom., 26 de jan. de 2020 às 10:59, Dan Wilcox danomatika@gmail.com escreveu:
Perhaps this can be taken care just by mentioning in the documentation somewhere (if you don't have times/helvetica installed, similar fonts are loaded).
It could be added to the existing font/README.txt: https://github.com/pure-data/pure-data/blob/master/font/README.txt
yup, seems like a good place to do this.
By the way, it says I can get other fonts by using quotes, such as in pd -font-face "Zapf Dingbats"
but using quotes doesn't work for me when trying to load a font like "Times New Roman", it'll only understand "Times" and ignore the rest. Moreover, it screws up when trying to open Starup again, as it can't really.
It doesn't seem worth doing more than that and trying to ship the same group of 3 fonts like we're doing with dejavu, right?
We could do that by shipping DejaVu Sans and DejaVu Serif https://dejavu-fonts.github.io
"DejaVu Serif", "Times New Roman", Times, serif
"DejaVu Sans", Arial, Helvetica, sans-serif
Or, alternatively, choose a "safer fonts" than Helvetica and Times but I feel that will still not guarantee as close a match as using the exact same font on all platforms. As we have seen, it's working relatively well with DejaVu Sans Mono.
Dan Wilcox @danomatika http://twitter.com/danomatika danomatika.com robotcowboy.com
Am 26. Jänner 2020 17:24:05 MEZ schrieb Alexandre Torres Porres porres@gmail.com:
Em dom., 26 de jan. de 2020 às 10:59, Dan Wilcox danomatika@gmail.com escreveu:
Perhaps this can be taken care just by mentioning in the documentation somewhere (if you don't have times/helvetica installed, similar fonts are loaded).
It could be added to the existing font/README.txt: https://github.com/pure-data/pure-data/blob/master/font/README.txt
yup, seems like a good place to do this.
By the way, it says I can get other fonts by using quotes, such as in pd -font-face "Zapf Dingbats"
but using quotes doesn't work for me when trying to load a font like "Times New Roman", it'll only understand "Times" and ignore the rest.
are you sure that you run the command as documented, eg:
pd -font-face "Times New Roman"
...or are you instead just assuming that adding the text '-font-face "Times New Roman"' (without the single-quotes) to the startup options in the preferences will do the same?
because i'm pretty sure that it won't. thr parser used by the shelland by pd is quoye different in how it handles quoted strings.
there is a PR [741] that fixes this.
mfg.hft.fsl IOhannes
It works on the command line. What you are seeing is a bug: https://github.com/pure-data/pure-data/pull/741 https://github.com/pure-data/pure-data/pull/741
On Jan 26, 2020, at 5:24 PM, Alexandre Torres Porres porres@gmail.com wrote:
By the way, it says I can get other fonts by using quotes, such as in pd -font-face "Zapf Dingbats"
but using quotes doesn't work for me when trying to load a font like "Times New Roman", it'll only understand "Times" and ignore the rest. Moreover, it screws up when trying to open Starup again, as it can't really.
Dan Wilcox @danomatika http://twitter.com/danomatika danomatika.com http://danomatika.com/ robotcowboy.com http://robotcowboy.com/
On 1/26/2020 10:59 AM, Dan Wilcox wrote:
We could do that by shipping DejaVu Sans and DejaVu Serif https://dejavu-fonts.github.io
"DejaVu Serif", "Times New Roman", Times, serif
"DejaVu Sans", Arial, Helvetica, sans-serif
Or, alternatively, choose a "safer fonts" than Helvetica and Times but I feel that will still not guarantee as close a match as using the exact same font on all platforms. As we have seen, it's working relatively well with DejaVu Sans Mono.
+1
I think this is the best solution. And I agree with the reasoning.
--
Mensaje telepatico asistido por maquinas.
is there a way to get osx to remember font settings? It used to work automatically, but now it doesn't.
Hi Matt,
is there a way to get osx to remember font settings? It used to work automatically, but now it doesn't.
A half-solution: There's an input box labeled "Startup flags" under Wish -> Preferences -> Startup..., and you may set
-font-size 16
(or whatever suits you) there. Unfortunately, though expectedly, this only affects patches created anew. When I open an existing patch or help file, it is still rendered using the default small font. The same goes for the main Pd window.
More similar font tips: https://github.com/pure-data/pure-data/tree/master/font
More startup flags: pd -help
More on startup settings via the GUI: https://puredata.info/docs/faq/pdsettings
Cheers, Albert.
Cheers, sounds good
On Thu, 16 Apr 2020 at 14:38, Albert Rafetseder < albert.rafetseder+pd@univie.ac.at> wrote:
Hi Matt,
is there a way to get osx to remember font settings? It used to work automatically, but now it doesn't.
A half-solution: There's an input box labeled "Startup flags" under Wish -> Preferences -> Startup..., and you may set
-font-size 16
(or whatever suits you) there. Unfortunately, though expectedly, this only affects patches created anew. When I open an existing patch or help file, it is still rendered using the default small font. The same goes for the main Pd window.
More similar font tips: https://github.com/pure-data/pure-data/tree/master/font
More startup flags: pd -help
More on startup settings via the GUI: https://puredata.info/docs/faq/pdsettings
Cheers, Albert.