Skip to content

Commit

Permalink
Add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
simonbengtsson committed Apr 12, 2020
1 parent c22372e commit 503bb00
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,8 @@ export function applyStyles(styles, fontOnly = false) {
lineWidth: doc.setLineWidth,
}
const styleModifiers = {
// Font style needs to be applied before font
// https://github.com/simonbengtsson/jsPDF-AutoTable/issues/632
fontStyle: doc.setFontStyle,
font: doc.setFont,
fontSize: doc.setFontSize,
Expand Down

0 comments on commit 503bb00

Please sign in to comment.