[yoshimi] Fw: [Yoshimi/yoshimi] HiDPI support? (#68)

  • From: Will Godfrey <willgodfrey@xxxxxxxxxxxxxxx>
  • To: yoshimi@xxxxxxxxxxxxx
  • Date: Mon, 14 Oct 2019 17:00:47 +0100

I've forwarded this to the list in case anyone is interested.
It's impressive work, but unfortunately it would be a long time before we could
even consider something like this, as V4 of FLTK hasn't appeared in the major
distros at all yet.

Begin forwarded message:

Date: Sat, 12 Oct 2019 11:12:48 -0700
From: kybos <notifications@xxxxxxxxxx>
To: Yoshimi/yoshimi <yoshimi@xxxxxxxxxxxxxxxxxx>
Cc: Will J Godfrey <willgodfrey@xxxxxxxxxxxxxxx>,  Comment
<comment@xxxxxxxxxxxxxxxxxx> Subject: Re: [Yoshimi/yoshimi] HiDPI support? (#68)


I now have a working version of yoshimi on HiDPI (scale factor = 2):

![image](https://user-images.githubusercontent.com/10009541/66705565-adb05500-ed28-11e9-8653-adf7b8841d96.png)

As I wrote above, the current FLTK git version (1.4, not yet released) has
scaling already implemented, and it seems to be pretty good (see
[https://www.fltk.org/doc-1.4/drawing.html](url) for details). The automatic
dpi recognition does not work (yet?), but it can be enforced by
setting/exporting FLTK_SCALE_FACTOR=2 (or whatever value, even non-integer
possible).

So I had to do compile fltk from git and compile yoshimi against it. I had to
remove the cairo-lib references from the code (because they do not scale and
partly even cause syntax errors). Cairo is mainly used in yoshimi to draw the
fancy knobs/dials - this does not work, the plain Fl_Dial has to be used
instead. There were also some smaller sizing issues with the mixer, system
effect sends etc.

I forked the repo and applied my changes there, in case anybody is interested:
[https://github.com/kybos/yoshimi](url)


-- 
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
https://github.com/Yoshimi/yoshimi/issues/68#issuecomment-541348914


-- 
Will J Godfrey
http://www.musically.me.uk
Say you have a poem and I have a tune.
Exchange them and we can both have a poem, a tune, and a song.

Other related posts:

  • » [yoshimi] Fw: [Yoshimi/yoshimi] HiDPI support? (#68) - Will Godfrey