Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
emacs
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
emacs
emacs
Commits
81af6e72
Commit
81af6e72
authored
May 02, 1999
by
Andrew Innes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(mouse-set-font): Ensure constructed fontset
matches the font selected in the dialog.
parent
27401ec7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
2 deletions
+12
-2
lisp/term/w32-win.el
lisp/term/w32-win.el
+12
-2
No files found.
lisp/term/w32-win.el
View file @
81af6e72
...
...
@@ -900,7 +900,7 @@ with the font."
(
if
(
fboundp
'new-fontset
)
(
append
w32-fixed-font-alist
(
list
(
generate-fontset-menu
)))))))
(
if
fonts
(
let
(
font
fontset
)
(
let
(
font
fontset
xlfd
resolved-font
)
(
while
fonts
(
condition-case
nil
(
progn
...
...
@@ -908,7 +908,17 @@ with the font."
(
if
(
fontset-name-p
font
)
(
setq
fontset
font
)
(
condition-case
nil
(
setq
fontset
(
create-fontset-from-ascii-font
font
))
(
setq
resolved-font
(
x-resolve-font-name
font
)
xlfd
(
x-decompose-font-name
resolved-font
)
fontset
(
create-fontset-from-ascii-font
font
resolved-font
(
format
"%s_%s_%s_%s"
(
aref
xlfd
xlfd-regexp-family-subnum
)
(
aref
xlfd
xlfd-regexp-registry-subnum
)
(
aref
xlfd
xlfd-regexp-encoding-subnum
)
(
aref
xlfd
xlfd-regexp-pixelsize-subnum
))))
(
error
nil
)))
(
if
fontset
(
set-default-font
fontset
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment