Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
psd-parse
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
劳工
psd-parse
Commits
0d9c2580
Commit
0d9c2580
authored
Nov 15, 2019
by
rockyl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
完善文本逻辑
parent
2ecf75b0
Changes
7
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
7 additions
and
7 deletions
+7
-7
index.es.js
dist/index.es.js
+1
-1
index.es.js.map
dist/index.es.js.map
+1
-1
index.js
dist/index.js
+1
-1
index.js.map
dist/index.js.map
+1
-1
index.umd.js
dist/index.umd.js
+1
-1
index.umd.js.map
dist/index.umd.js.map
+1
-1
zeroing.js
src/zeroing.js
+1
-1
No files found.
dist/index.es.js
View file @
0d9c2580
...
...
@@ -258,7 +258,7 @@ async function execute$1(psdFile, options) {
const
{
RunLengthArray
}
=
fontInfo
.
engineData
.
EngineDict
.
StyleRun
;
properties
.
text
=
fontInfo
.
textValue
;
properties
.
size
=
styles
.
sizes
()[
0
]
/
2
;
properties
.
size
=
fontInfo
.
sizes
()[
0
]
/
2
;
let
[
r
,
g
,
b
,
a
]
=
fontInfo
.
colors
()[
0
];
properties
.
fillColor
=
`rgba(
${
r
}
,
${
g
}
,
${
b
}
,
${
a
/
255
}
)`
;
/*properties.textflow = {
...
...
dist/index.es.js.map
View file @
0d9c2580
This diff is collapsed.
Click to expand it.
dist/index.js
View file @
0d9c2580
...
...
@@ -264,7 +264,7 @@ async function execute$1(psdFile, options) {
const
{
RunLengthArray
}
=
fontInfo
.
engineData
.
EngineDict
.
StyleRun
;
properties
.
text
=
fontInfo
.
textValue
;
properties
.
size
=
styles
.
sizes
()[
0
]
/
2
;
properties
.
size
=
fontInfo
.
sizes
()[
0
]
/
2
;
let
[
r
,
g
,
b
,
a
]
=
fontInfo
.
colors
()[
0
];
properties
.
fillColor
=
`rgba(
${
r
}
,
${
g
}
,
${
b
}
,
${
a
/
255
}
)`
;
/*properties.textflow = {
...
...
dist/index.js.map
View file @
0d9c2580
This diff is collapsed.
Click to expand it.
dist/index.umd.js
View file @
0d9c2580
...
...
@@ -264,7 +264,7 @@
const
{
RunLengthArray
}
=
fontInfo
.
engineData
.
EngineDict
.
StyleRun
;
properties
.
text
=
fontInfo
.
textValue
;
properties
.
size
=
styles
.
sizes
()[
0
]
/
2
;
properties
.
size
=
fontInfo
.
sizes
()[
0
]
/
2
;
let
[
r
,
g
,
b
,
a
]
=
fontInfo
.
colors
()[
0
];
properties
.
fillColor
=
`rgba(
${
r
}
,
${
g
}
,
${
b
}
,
${
a
/
255
}
)`
;
/*properties.textflow = {
...
...
dist/index.umd.js.map
View file @
0d9c2580
This diff is collapsed.
Click to expand it.
src/zeroing.js
View file @
0d9c2580
...
...
@@ -51,7 +51,7 @@ export async function execute(psdFile, options) {
const
{
RunLengthArray
}
=
fontInfo
.
engineData
.
EngineDict
.
StyleRun
;
properties
.
text
=
fontInfo
.
textValue
;
properties
.
size
=
styles
.
sizes
()[
0
]
/
2
;
properties
.
size
=
fontInfo
.
sizes
()[
0
]
/
2
;
let
[
r
,
g
,
b
,
a
]
=
fontInfo
.
colors
()[
0
];
properties
.
fillColor
=
`rgba(
${
r
}
,
${
g
}
,
${
b
}
,
${
a
/
255
}
)`
;
/*properties.textflow = {
...
...
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