Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Shipping and using DejaVu font on Ms-Windows Improved #270

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Binary file modified msw/pdprototype.tgz
Binary file not shown.
5 changes: 5 additions & 0 deletions tcl/pd-gui.tcl
Expand Up @@ -362,6 +362,11 @@ proc init_for_platform {} {
set ::cursor_editmode_resize "sb_h_double_arrow"
}
"win32" {
# Adding dejavu fonts on mswindows
catch { package require twapi
twapi::AddFontResourceEx DejaVuSansMono.ttf
twapi::AddFontResourceEx DejaVuSansMono-Bold.ttf}
#
set ::modifier "Control"
option add *PatchWindow*Canvas.background "white" startupFile
# fix menu font size on Windows with tk scaling = 1
Expand Down