Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
redox-os
stb_truetype-rs
Commits
d8df6bff
Commit
d8df6bff
authored
Dec 14, 2018
by
Alex Butler
Browse files
Merge branch 'fix-consola-feff' into 'master'
Fix get_glyph_shape panic consola \u{feff} Closes
#19
See merge request
!28
parents
191b3ef4
b641fe6b
Pipeline
#2237
passed with stages
in 1 minute and 53 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/lib.rs
View file @
d8df6bff
...
...
@@ -909,9 +909,9 @@ impl<Data: Deref<Target = [u8]>> FontInfo<Data> {
scx
=
x
;
scy
=
y
;
let
(
next_flags
,
next_x
,
next_y
)
=
{
let
peek
=
&
iter
.peek
()
.unwrap
()
.1
;
(
peek
.flags
,
peek
.x
,
peek
.y
)
let
(
next_flags
,
next_x
,
next_y
)
=
match
iter
.peek
()
{
Some
((
_
,
fd
))
=>
(
fd
.flags
,
fd
.x
,
fd
.y
),
None
=>
break
,
};
if
next_flags
&
1
==
0
{
...
...
Write
Preview
Supports
Markdown
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