Skip to content

Commit

Permalink
πŸ—› rendering special chars: 𝕠𝕀
Browse files Browse the repository at this point in the history
  • Loading branch information
DragonCat4012 committed Sep 1, 2021
1 parent a722576 commit 7c8f51c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Simple easy-to-use Goodbye and welcome cards for your discord Bot. The version c
},
avatar?: { /** Options for the avatar */
image?: Canvas | Image | Buffer | string; /** The Avatar Image, can be a URL/Canvas/Image or Buffer */
outlineWidth?: number; /** Width of the outline around the avatar in px (0-50) */
outlineWidth?: number; /** Width of the outline around the avatar in px */
outlineColor?: `#${string}` | Gradient; /** Color of the outline / Gradient */
},
background?: Canvas | Image | Buffer | string; /** Override the Background, can be a URL/Canvas/Image or Buffer */
Expand Down
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ export async function drawCard(options: CardOptions): Promise<Buffer> {
//Setting Styles
ctx.fillStyle = (options.text?.color ?? theme.color).toString(ctx);
//ctx.strokeStyle = theme.color.toString(ctx);
ctx.font = '30px ' + ((options.text?.font ?? theme.font) ?? 'sans-serif');
ctx.font = '30px ' + ((options.text?.font ?? theme.font) ?? 'sans-serif', 'segoe-ui-emoji');


//Drawing
Expand Down

0 comments on commit 7c8f51c

Please sign in to comment.