[PD] font issues/questions, and also discrepancies between operating systems

Alexandre Torres Porres porres at gmail.com
Sat Jan 25 23:26:07 CET 2020


Em sex., 24 de jan. de 2020 às 18:35, IOhannes m zmölnig <zmoelnig at iem.at>
escreveu:

> On 1/24/20 10:07 PM, Alexandre Torres Porres wrote:
> > My best/ideal solution is if I could make cyclone/comment say *you tried
> to
> > load helvetica, but I loaded "x" instead*
>
> https://www.tcl.tk/man/tcl/TkCmd/font.htm#M5
>
> that was the first hit i got when searching for "tcl get information on
> current font"
>

Yeah, I had seen that, and I'm struggling to see if I can make that happen,
but my coding skills are limited and things aren't that 100%
straightforward for me, so I don't know if it's possible I figure it out
:)

>
> >. Now, apparently this is handled
> > internally via tk,
>
> actually no.
> this is done on an OS-level.


I don't remember where exactly I saw it, but it was one of these
manuals/tutorials and stuff online that said so, but sure, I guess you can
be right, cool.

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

I guess the main issue as far as patch discrepancy goes is still how DejaVu
is rendered in Pd's commments - I see some quite noticeable differences if
I open a help patch with lots of written stuff in Linux, and some of the
spacing I did fit in an area can get out of bounds in Linux - specially
with line spacing, so it seems.

cheers
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20200125/a4d8137b/attachment.html>


More information about the Pd-list mailing list