
Support GUI scaling in much the same way as on Windows, where the OS setting ("org.gnome.desktop.interface.scaling-factor" times "...text-scaling-factor") determines the scale that is used for both graphics and GUI sizing. As I understand it, a complete solution requires porting to Gtk3. With Gtk2, the graphical part of a widget doesn't scale. Text and image labels should scale correctly, though.
21 lines
744 B
Racket
21 lines
744 B
Racket
#lang scribble/doc
|
|
@(require "common.rkt")
|
|
|
|
@(define draw-doc '(lib "scribblings/draw/draw.scrbl"))
|
|
|
|
@title[#:tag "libs"]{Platform Dependencies}
|
|
|
|
See @secref[#:doc draw-doc "libs"] in @other-manual[draw-doc] for
|
|
information on platform library dependencies for
|
|
@racketmodname[racket/draw]. On Unix, the following additional
|
|
system libraries must be installed for @racketmodname[racket/gui/base]:
|
|
|
|
@itemlist[
|
|
@item{@filepath{libgdk-x11-2.0[.0]}}
|
|
@item{@filepath{libgdk_pixbuf-2.0[.0]}}
|
|
@item{@filepath{libgtk-x11-2.0[.0]}}
|
|
@item{@filepath{libgio-2.0[.0]} --- optional, for detecting interface scaling}
|
|
@item{@filepath{libGL} --- optional, for OpenGL support}
|
|
@item{@filepath{libunique-1.0[.0]} --- optional, for single-instance support}
|
|
]
|