Skip to content

Commit

Permalink
Switch to more visually matching Noto Sans Reguar
Browse files Browse the repository at this point in the history
  • Loading branch information
Wikiwix committed Oct 28, 2024
1 parent 3602795 commit fae93cf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Binary file removed app/css/fonts/NotoSans-Black.ttf
Binary file not shown.
4 changes: 2 additions & 2 deletions graphics/time-intray-icon-generator.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const fs = require('fs')
const path = require('path')

// Load the font (make sure the font file is available in your project directory)
registerFont(path.join(__dirname, '../app/css/fonts/NotoSans-Black.ttf'), { family: 'NotoSans Black' })
registerFont(path.join(__dirname, '../app/css/fonts/NotoSans-Regular.ttf'), { family: 'Noto Sans Regular' })

async function overlayTextOnImage (inputImagePath, outputImagePath, text, fontSize, fontColor, fontFamily) {
try {
Expand Down Expand Up @@ -68,7 +68,7 @@ async function overlayTextOnImage (inputImagePath, outputImagePath, text, fontSi
}
}

const fontFamily = 'NotoSans Black';
const fontFamily = 'Noto Sans Regular';
[
{
name: 'tray',
Expand Down

0 comments on commit fae93cf

Please sign in to comment.