Skip to content

Commit 53ce75e

Browse files
committed
update text font.
update text font.
1 parent d2edbf4 commit 53ce75e

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

QRCode.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* React Native QRCode generation component. Can generate standard QRCode image or base64 image data url text. Cross-browser QRCode generator for pure javascript. Support Dot style, Logo, Background image, Colorful, Title etc. settings. support binary mode.
55
*
6-
* Version 3.9.4
6+
* Version 3.9.5
77
*
88
* @author [ [email protected] ]
99
*
@@ -1435,14 +1435,14 @@ function QRCode(canvas, vOption) {
14351435
quietZoneColor: "rgba(0,0,0,0)",
14361436

14371437
title: "",
1438-
titleFont: "bold 16px Arial",
1438+
titleFont: "normal normal bold 16px Arial",
14391439
titleColor: "#000000",
14401440
titleBackgroundColor: "#ffffff",
14411441
titleHeight: 0, // Title Height, Include subTitle
14421442
titleTop: 30, // draws y coordinates. default is 30
14431443

14441444
subTitle: "",
1445-
subTitleFont: "14px Arial",
1445+
subTitleFont: "normal normal normal 14px Arial",
14461446
subTitleColor: "#4F4F4F",
14471447
subTitleTop: 60, // draws y coordinates. default is 0
14481448

QRCode.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "easyqrcode-react-native",
3-
"version": "3.9.4",
3+
"version": "3.9.5",
44
"description": "React Native QRCode generation component. Can get standard base64 image data url text or save image to file. Cross-browser QRCode generator for pure javascript. Support Dot style, Logo, Background image, Colorful, Title etc. settings. support binary mode.",
55
"main": "QRCode.min.js",
66
"scripts": {},

readme.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ var qrcode = new QRCode(canvas_object, options_object);
222222
// ====== Title
223223
/*
224224
title: 'QR Title', // content
225-
titleFont: "bold 18px Arial", //font. default is "bold 16px Arial"
225+
titleFont: "normal normal bold 18px Arial", //font. default is "bold 16px Arial"
226226
titleColor: "#004284", // color. default is "#000"
227227
titleBackgroundColor: "#fff", // background color. default is "#fff"
228228
titleHeight: 70, // height, including subTitle. default is 0
@@ -232,7 +232,7 @@ var qrcode = new QRCode(canvas_object, options_object);
232232
// ====== SubTitle
233233
/*
234234
subTitle: 'QR subTitle', // content
235-
subTitleFont: "14px Arial", // font. default is "14px Arial"
235+
subTitleFont: "normal normal normal 14px Arial", // font. default is "14px Arial"
236236
subTitleColor: "#004284", // color. default is "4F4F4F"
237237
subTitleTop: 40, // draws y coordinates. default is 0
238238
*/
@@ -306,14 +306,14 @@ var qrcode = new QRCode(canvas_object, options_object);
306306
| **timing_V** | N | String | `undefined` | Vertical timing CSS color |
307307
| Title options| --- | ---|---|---|
308308
| **title** | N | String | `''` | |
309-
| **titleFont** | N | String | `bold 16px Arial` | CSS Font |
309+
| **titleFont** | N | String | `normal normal bold 16px Arial` | CSS Font |
310310
| **titleColor** | N | String | `#000000` | CSS color |
311311
| **titleBackgroundColor** | N | String | `#ffffff` | CSS color|
312312
| **titleHeight** | N | Number | `0` | Title Height, Include subTitle |
313313
| **titleTop** | N | Number | `30` | draws y coordinates.|
314314
| SubTitle options| --- | ---|---|---|
315315
| **subTitle** | N | String | `''` | |
316-
| **subTitleFont** | N | String | `14px Arial` | CSS Font |
316+
| **subTitleFont** | N | String | `normal normal normal 14px Arial` | CSS Font |
317317
| **subTitleColor** | N | String | `#4F4F4F` | CSS color |
318318
| **subTitleTop** | N | Number | `0` | draws y coordinates. default is 0|
319319
| Event Handler options| --- | ---|---|---|

0 commit comments

Comments
 (0)