Skip to content

Commit

Permalink
Merge pull request #790 from bokuweb/fix-level-char-spacing
Browse files Browse the repository at this point in the history
Fix level char spacing
  • Loading branch information
bokuweb authored Dec 29, 2024
2 parents 11e09de + 05df4e3 commit 1fd0b8f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions docx-wasm/js/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -319,6 +319,10 @@ export class Docx {
level = level.fonts(f);
}

if (l.runProperty._characterSpacing != null) {
level = level.spacing(l.runProperty._characterSpacing);
}

if (l.paragraphProperty.indent) {
let kind;
if (l.paragraphProperty.indent.specialIndentKind === "firstLine") {
Expand Down
2 changes: 1 addition & 1 deletion docx-wasm/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "docx-wasm",
"version": "0.4.18-rc26",
"version": "0.4.18-rc27",
"main": "dist/node/index.js",
"browser": "dist/web/index.js",
"author": "bokuweb <bokuweb12@gmail.com>",
Expand Down

0 comments on commit 1fd0b8f

Please sign in to comment.