All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
- Updated Google Fonts list
- Allow font's 'category' to be '*', which disables category-filtering for that font
- Updated Google Fonts list
- Updated Google Fonts list
- Updated Google Fonts list: now includes some Arabic fonts as well
- Added support for TTF, WOFF2 and OTF fonts (configuration parameter
localFontsType
) - Updated Google Fonts list
- Firefox did not load custom fonts properly.
- If
googleFonts
contains a non existing font, silently ignore the font.
- Fixed undeclared variable font, fontFamily, fontType. Fixes #12.
- Only load local fonts if they're not already available. This prevents loading of default system fonts like Helvetica, Times New Roman etc.
- Add translations for French (
lang = 'fr'
). Translation by Noferi Mickaël.
- CSS glitch fixed (removed fixed height of select box)
- Removed a dangling
console.log
- Google font
Molle
caused an issue, because of only 1 variant, which was italic too.
- Version 1.3 introduced issue #8. This release fixes that.
- Updated Google Fonts list (1023 fonts now, was 993).
- Fix for issue #7: when
googleFonts == false
, don't try to load fonts from Google repository.
- Added compatibility with Internet Explorer 11.
$('#font').val('').trigger('change')
clears selected font.
- Added
showClear
option. Whentrue
, the user can clear a selected font. Fixes issue #5. - Improved clear buttons (now SVG based and better aligned)
- Fixed an issue with
Press Start 2P
font: when a user selected this font, it would not render that font in the select box.
- Added
onSelect
callback. This callback allows for determining whether a local or Google font was selected. Fixes issue [#4]((#4). - Updated Google Fonts list (993 fonts now, was 977).
- Added
SameSite=Lax
to cookie parameters.
- Add translations for Spanish (
lang = 'es'
)
- If the input element had a value of a non-existing font family, a Javascript error would be thrown. This is now fixed.
- Modal can now be opened by spacebar, when element is focused.
- Keys
1-9
select a font weight in an active item.1
= font-weight100
...4
= font-weight400
...9
= font-weight900
. - Key
i
toggles italics in an active item. - Italic pill now has a purplish colored background
- The fontpicker now lists the last X fonts a user picked in the Favorite fonts section.
- The new
nrRecents
option controls how many last-picked fonts are remembered. - Added a clear button to the search box.
- Favorite fonts weren't rendered in their respective font families when lazy loading was enabled.
- Added
lazyLoad
option, allowing you to disable lazy loading of fonts. - Improved performance on Microsoft Edge.
- Fixed some CSS issues.
- Throw an error if
show
orhide
methods are called on a destroyed instance.
- Added
parentElement
configuration option.
- Fixed some CSS issues.
- Initial release.