1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-09-26 21:39:08 +02:00

Fixes #9925: convert font data to base64, fixing 0xefbfbd (Unicode Replacement Character) chars in customizer fonts.

Merges #9982
This commit is contained in:
herom
2013-08-21 14:16:45 +04:30
committed by Chris Rebert
parent 58a47b6bfd
commit aad70834fc
4 changed files with 8 additions and 5 deletions

View File

@@ -129,7 +129,7 @@ window.onload = function () { // wait for load in a dumb way because B-0
if (fonts) {
var fontsFolder = zip.folder('fonts')
for (var fileName in fonts) {
fontsFolder.file(fileName, fonts[fileName])
fontsFolder.file(fileName, fonts[fileName], {base64: true})
}
}