Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
a-doc-editor
Overview
Overview
Details
Activity
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
Ramdayal Munda
a-doc-editor
Commits
4dd20e64
Commit
4dd20e64
authored
Dec 14, 2023
by
ramdayalmunda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added custom font on PDF
parent
4fb7f746
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
2 additions
and
2 deletions
+2
-2
a-doc-editor.css
dist/assets/a-doc-editor.css
+1
-1
a-doc-editor.js
dist/assets/a-doc-editor.js
+0
-0
customfont.ttf
dist/assets/fonts/customfont.ttf
+0
-0
customfont.woff
dist/assets/fonts/customfont.woff
+0
-0
index.html
dist/index.html
+1
-1
No files found.
dist/assets/a-doc-editor.css
View file @
4dd20e64
...
...
@@ -110,7 +110,7 @@
.a-doc-editor
.body
.scrolling-area
canvas
.page
{
background
:
#f3f3f3
;
margin-bottom
:
10px
;
/* width: 100%; */
width
:
100%
;
box-shadow
:
4px
0px
10px
4px
rgba
(
0
,
0
,
0
,
0.4
);
}
...
...
dist/assets/a-doc-editor.js
View file @
4dd20e64
This diff is collapsed.
Click to expand it.
dist/assets/fonts/c
alibri-regular
.ttf
→
dist/assets/fonts/c
ustomfont
.ttf
View file @
4dd20e64
File moved
dist/assets/fonts/customfont.woff
0 → 100644
View file @
4dd20e64
File added
dist/index.html
View file @
4dd20e64
...
...
@@ -18,7 +18,7 @@
</head>
<body>
<div
class=
"body"
></div>
<p>
Click on the
canvas
and start typing
<p>
Click on the
<span
style=
"font-family: 'customfont';"
>
canvas
</span>
and start typing
<button
onclick=
"extractData()"
>
Extract
</button>
<button
onclick=
"setData()"
>
Set Data
</button>
<button
onclick=
"generatePDF()"
>
Generate PDF
</button>
...
...
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