Skip to content

Commit

Permalink
Build with warning fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
linev committed Sep 30, 2024
1 parent 73bed81 commit 292ec4e
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions build/jsroot.js
Original file line number Diff line number Diff line change
Expand Up @@ -9269,8 +9269,8 @@ function convertDate(dt) {
}

const kArial = 'Arial', kTimes = 'Times New Roman', kCourier = 'Courier New', kVerdana = 'Verdana', kSymbol = 'RootSymbol', kWingdings = 'Wingdings',
// average width taken from symbols.html, counted only for letters and digits
root_fonts = [null, // index 0 not exists
// average width taken from symbols.html, counted only for letters and digits
root_fonts = [null, // index 0 not exists
{ n: kTimes, s: 'italic', aw: 0.5314 },
{ n: kTimes, w: 'bold', aw: 0.5809 },
{ n: kTimes, s: 'italic', w: 'bold', aw: 0.5540 },
Expand All @@ -9289,10 +9289,9 @@ root_fonts = [null, // index 0 not exists
{ n: kVerdana, aw: 0.5664 },
{ n: kVerdana, s: 'italic', aw: 0.5495 },
{ n: kVerdana, w: 'bold', aw: 0.5748 },
{ n: kVerdana, s: 'italic', w: 'bold', aw: 0.5578 }];


const gFontFiles = {};
{ n: kVerdana, s: 'italic', w: 'bold', aw: 0.5578 }],
// list of loaded fonts including handling of multiple simultaneous requests
gFontFiles = {};

/** @summary Read font file from some pre-configured locations
* @return {Promise} with base64 code of the font
Expand Down

0 comments on commit 292ec4e

Please sign in to comment.