Thread: Kobo Patcher
View Single Post
Old 08-18-2013, 10:33 AM   #45
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
Posts: 13,541
Karma: 78910202
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
Quote:
Originally Posted by ectoplasm View Post
I've noticed changing the dragon font-size, only some values work, like 26px, 36px, 40px, 1em. Others like 34px cause a "zlib string for replace is too large" error when running kpg.exe.
This might be a long shot, but I wonder if one could remove sections of the CSS that do not apply to your particular device? This should (in theory) help as it would ensure that the data to be compressed was less, and should more easily be storable within the original space in libnickel.so.

So for instance if the original CSS was (copying from DNSB)
Code:
[deviceCodeName="kraken"], 
[deviceCodeName="phoenix"] {
	font-size: 20px;
}

[deviceCodeName="dragon"] {
	font-size: 26px;
}
and you were just patching for a dragon class device then
Code:
[deviceCodeName="dragon"] {
	font-size: 26px;
}
should suffice.
PeterT is offline   Reply With Quote