Skip to content

Commit 52993c6

Browse files
Various Grammatical and Spelling Changes to the README (#2948)
Co-authored-by: Lukas Holländer <[email protected]>
1 parent c964480 commit 52993c6

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ loading polyfills multiple times. Might still be nifty for small applications or
185185

186186
The 14 standard fonts in PDF are limited to the ASCII-codepage. If you want to use UTF-8 you have to integrate a
187187
custom font, which provides the needed glyphs. jsPDF supports .ttf-files. So if you want to have for example
188-
chinese text in your pdf, your font has to have the necessary chinese glyphs. So check if your font supports
188+
Chinese text in your pdf, your font has to have the necessary Chinese glyphs. So, check if your font supports
189189
the wanted glyphs or else it will show garbled characters instead of the right text.
190190

191191
To add the font to jsPDF use our fontconverter in
@@ -194,7 +194,7 @@ The fontconverter will create a js-file with the content of the provided ttf-fil
194194
and additional code for jsPDF. You just have to add this generated js-File to your project.
195195
You are then ready to go to use setFont-method in your code and write your UTF-8 encoded text.
196196

197-
Alternatively you can just load the content of the \*.ttf file as binary string using `fetch` or `XMLHttpRequest` and
197+
Alternatively you can just load the content of the \*.ttf file as a binary string using `fetch` or `XMLHttpRequest` and
198198
add the font to the PDF file:
199199

200200
```js
@@ -215,7 +215,7 @@ of them are API breaking, which is why there is an API-switch between two API mo
215215
- In "compat" API mode, jsPDF has the same API as MrRio's original version, which means full compatibility with plugins.
216216
However, some advanced features like transformation matrices and patterns won't work. This is the default mode.
217217
- In "advanced" API mode, jsPDF has the API you're used from the yWorks-fork version. This means the availability of
218-
all advanced features like patterns, FormObjects and transformation matrices.
218+
all advanced features like patterns, FormObjects, and transformation matrices.
219219

220220
You can switch between the two modes by calling
221221

@@ -236,7 +236,7 @@ JsPDF will automatically switch back to the original API mode after the callback
236236
Please check if your question is already handled at Stackoverflow <https://stackoverflow.com/questions/tagged/jspdf>.
237237
Feel free to ask a question there with the tag `jspdf`.
238238

239-
Feature requests, bug reports etc. are very welcome as issues. Note that bug reports should follow these guidelines:
239+
Feature requests, bug reports, etc. are very welcome as issues. Note that bug reports should follow these guidelines:
240240

241241
- A bug should be reported as an [mcve](https://stackoverflow.com/help/mcve)
242242
- Make sure code is properly indented and [formatted](https://help.github.com/articles/basic-writing-and-formatting-syntax/#quoting-code) (Use ``` around code blocks)
@@ -247,7 +247,7 @@ Feature requests, bug reports etc. are very welcome as issues. Note that bug rep
247247

248248
jsPDF cannot live without help from the community! If you think a feature is missing or you found a bug, please consider
249249
if you can spare one or two hours and prepare a pull request. If you're simply interested in this project and want to
250-
help, have a look at the open issues, especially those labelled with "bug".
250+
help, have a look at the open issues, especially those labeled with "bug".
251251

252252
You can find information about building and testing jsPDF in the
253253
[contribution guide](https://github.com/MrRio/jsPDF/blob/master/CONTRIBUTING.md#pull-requests)

0 commit comments

Comments
 (0)