View Single Post
Old 11-26-2018, 11:04 PM   #267
geek1011
Wizard
geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.
 
Posts: 2,808
Karma: 7423683
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
Quote:
Originally Posted by jcn363 View Post
When you try recursively a simple change (same length string) the error raises immediately.
Spoiler:
Code:
          |   applying patch `Custom font-size zlib1`
          | looping over instructions
          |   skipping non-instruction Enabled(), PatchGroup() or Description()
          |   skipping non-instruction Enabled(), PatchGroup() or Description()
          |   FindZlib("reader_head") | hex:7265616465725f68656164
          |   ReplaceZlib(0, "font-size: 36px", "font-size: 39px")
          |   ReplaceZlib(0, "font-size: 28px", "font-size: 32px")
          |   ReplaceZlib(0, "font-size: 23px", "font-size: 27px")
          |   FindZlib("QWidget[small") | hex:515769646765745b736d616c6c
          |   ReplaceZlib(0, "font-size: 91px", "font-size: 91px")
          |   ReplaceZlib(0, "font-size: 77px", "font-size: 77px")
          |   ReplaceZlib(0, "font-size: 74px", "font-size: 74px")
          |   ReplaceZlib(0, "font-size: 71px", "font-size: 71px")
          |   ReplaceZlib(0, "font-size: 62px", "font-size: 62px")
          |   ReplaceZlib(0, "font-size: 60px", "font-size: 60px")
          |   ReplaceZlib(0, "font-size: 57px", "font-size: 59px")
          |   ReplaceZlib(0, "font-size: 55px", "font-size: 57px")
          |   ReplaceZlib(0, "font-size: 50px", "font-size: 53px")
          |   ReplaceZlib(0, "font-size: 47px", "font-size: 50px")
          |   ReplaceZlib(0, "font-size: 46px", "font-size: 49px")
          | could not apply patch: i18: ReplaceZlib: new compressed data is 2 bytes longer than old data (try removing whitespace or unnecessary css)
        --> ReplaceZlib: new compressed data is 2 bytes longer than old data (try removing whitespace or unnecessary css)

If you remove the space the error raises before.
Spoiler:
Code:
          |   applying patch `Custom font-size zlib1`
          | looping over instructions
          |   skipping non-instruction Enabled(), PatchGroup() or Description()
          |   skipping non-instruction Enabled(), PatchGroup() or Description()
          |   FindZlib("reader_head") | hex:7265616465725f68656164
          |   ReplaceZlib(0, "font-size: 36px", "font-size:39px")
          |   ReplaceZlib(0, "font-size: 28px", "font-size:32px")
          |   ReplaceZlib(0, "font-size: 23px", "font-size:27px")
          |   FindZlib("QWidget[small") | hex:515769646765745b736d616c6c
          |   ReplaceZlib(0, "font-size: 91px", "font-size:91px")
          |   ReplaceZlib(0, "font-size: 77px", "font-size:77px")
          |   ReplaceZlib(0, "font-size: 74px", "font-size:74px")
          |   ReplaceZlib(0, "font-size: 71px", "font-size:71px")
          |   ReplaceZlib(0, "font-size: 62px", "font-size:62px")
          |   ReplaceZlib(0, "font-size: 60px", "font-size:60px")
          |   ReplaceZlib(0, "font-size: 57px", "font-size:59px")
          |   ReplaceZlib(0, "font-size: 55px", "font-size:57px")
          | could not apply patch: i15: ReplaceZlib: new compressed data is 1 bytes longer than old data (try removing whitespace or unnecessary css)
        --> ReplaceZlib: new compressed data is 1 bytes longer than old data (try removing whitespace or unnecessary css)


Perhaps I'm doing something bad or you should flush memory, redo loops or something, because I think this is really simple.
Good luck.
Done the new ReplaceZlibGroup instruction.
geek1011 is offline   Reply With Quote