Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ImportedProjects
SVG
Commits
2e554577
Commit
2e554577
authored
Aug 11, 2017
by
Hayk
Committed by
mrbean-bremen
Dec 17, 2018
Browse files
Issue #332
parent
7ce4de62
Changes
1
Show whitespace changes
Inline
Side-by-side
Source/SvgElementStyle.cs
View file @
2e554577
...
...
@@ -433,7 +433,7 @@ namespace Svg
//styles from IE get sent through as lowercase.
foreach
(
var
f
in
fontParts
)
{
if
(
doc
.
FontDefns
().
TryGetValue
(
f
,
out
sFaces
))
return
sFaces
;
if
(
doc
!=
null
&&
doc
.
FontDefns
().
TryGetValue
(
f
,
out
sFaces
))
return
sFaces
;
getFamily
=
new
Func
<
FontFamily
,
bool
>(
ff
=>
string
.
Equals
(
ff
.
Name
,
f
,
StringComparison
.
OrdinalIgnoreCase
));
family
=
families
.
FirstOrDefault
(
getFamily
);
...
...
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