BoostNote-Legacy icon indicating copy to clipboard operation
BoostNote-Legacy copied to clipboard

Invalid font-family

Open reidstidolph opened this issue 9 years ago • 3 comments

After upgrading to boostnote_0.8.16_amd64.deb on my Ubuntu 17.10/Gnome3 system and setting a custom preview font-family, I'm seeing it unable to render preview fonts due to an invalid font-family property. It seems like the setting of Microsoft YaHei has 2 single quotes on either side of it, causing the font-family setting to be invalid. When I remove one of the sets of single quotes manually within the dev console, it reads/renders properly.

With the following configuration: image Font-family gets set to: 'Montserrat','meiryo',''Microsoft YaHei'','helvetica','arial','sans-serif' ...which throws an "invalid property value" error for the font-family style of the body html tag: image

This change may have something to do with it perhaps? https://github.com/BoostIO/Boostnote/commit/7e2f0049b638930bd4c09c0b5b2edee46bffb82b#diff-a54dec67725b3e604a34d39a7fcb72f6

reidstidolph avatar Nov 01 '17 16:11 reidstidolph

Hi @reidstidolph,

It seems it has already been fixed in this commit.

yosmoc avatar Nov 14 '17 22:11 yosmoc

v0.8.17 is out! Thank you @reidstidolph and @yosmoc 👍

kazup01 avatar Nov 25 '17 09:11 kazup01

Just updated, and it looks good! Thanks @kazup01 !!

reidstidolph avatar Nov 26 '17 06:11 reidstidolph