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
Open sidebar
emacs
emacs
Commits
24ef80ae
Commit
24ef80ae
authored
Jul 12, 2012
by
Paul Eggert
Browse files
* nsfont.m (ns_charset_covers): Don't abort if no bitmap.
Fixes: debbugs:11853
parent
739ae010
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
0 deletions
+10
-0
src/ChangeLog
src/ChangeLog
+5
-0
src/nsfont.m
src/nsfont.m
+5
-0
No files found.
src/ChangeLog
View file @
24ef80ae
2012-07-13 Paul Eggert <eggert@cs.ucla.edu>
* nsfont.m (ns_charset_covers): Don't abort if no bitmap (Bug#11853).
Report and trivial fix by BT Templeton.
2012-07-13 Glenn Morris <rgm@gnu.org>
* s/usg5-4-common.h (NSIG_MINIMUM): Let configure set it.
...
...
src/nsfont.m
View file @
24ef80ae
...
...
@@ -271,6 +271,11 @@ static void ns_glyph_metrics (struct nsfont_info *font_info,
const
unsigned
short
*
bytes2
=
[[
set2
bitmapRepresentation
]
bytes
];
int
i
,
off
=
0
,
tot
=
0
;
/* Work around what appears to be a GNUstep bug.
See <http://bugs.gnu.org/11853>. */
if
(
!
(
bytes1
&&
bytes2
))
return
NO
;
for
(
i
=
0
;
i
<
4096
;
i
++
,
bytes1
++
,
bytes2
++
)
if
(
*
bytes2
)
{
...
...
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