En calidad de Afiliado de Amazon, obtengo ingresos por las compras adscritas que cumplen los requisitos aplicables
Resultados 1 al 6 de 6

Tema: Pregunta sobre megaparche y "Custom reading footer style"

  1. #1
    Habitual en el foro Avatar de avresbo
    Fecha de ingreso
    10 oct, 09
    Mensajes
    48

    Predeterminado Pregunta sobre megaparche y "Custom reading footer style"

    Hola, buenas tardes. Como soy "algo" torpe, tengo una pregunta.
    He instalado en mi KOBO GLO HD el megaparche para 3.16. Todo ha ido bien, pero me gustaría reducir algo la línea inferior y no se donde cambiar las cifras y a que cantidad ponerlas. Paso el parche de la parte correspondiente por si alguien me pude asesorar. Muchísimas gracias.

    <Patch>
    patch_name = `Custom reading footer style`
    patch_enable = `yes`
    # Multi-version patch: 3.15.0 - 3.16.0+
    #
    # This patch customises the following properties of the reading footer:
    #
    # * Footer height (the amount of the screen reserved for the footer.)
    # * Caption font size (Caption = page number or other progress indicator)
    # * Caption top margin, which changes its vertical position within the footer.
    #
    # When editing the replacement values below, BE CAREFUL NOT TO CHANGE THE LENGTH
    # OF THE REPLACEMENT STRING! If a replacement string is too long you will get
    # an error when making the patch, but if one is too short then there will be no
    # error, but strange things will happen to the reading footer.
    #
    find_base_address = `ReadingFooter {\n\tmin-height: 70px;`
    #
    # Replacement footer height values: Touch/Mini
    replace_string = 0011, `min-height: 70px;`, `min-height: 32px;`
    replace_string = 0024, `max-height: 70px;`, `max-height: 32px;`
    # Replacement footer height values: Glo/Aura
    replace_string = 0085, `min-height: 82px;`, `min-height: 40px;`
    replace_string = 0098, `max-height: 82px;`, `max-height: 40px;`
    # Replacement footer height values: AuraHD/H2O/GloHD
    replace_string = 00DA, `min-height: 120px;`, `min-height: 052px;`
    replace_string = 00EE, `max-height: 120px;`, `max-height: 052px;`
    #
    #
    find_base_address = `#caption {\n\tfont-size: 16px;`
    Replace_string = 0000, `#caption {\n\tfont-size: 16px;\n}\n\n#caption[qApp_deviceIsPhoenix="true"] {\n\tfont-size: 20px;\n}\n\n#caption[qApp_deviceIsDragon="true"] {\n\tfont-size: 26px;\n}\n\n#caption[qApp_deviceIsAlyssum="true"] {\n\tfont-size: 30px;\n}\n\n#caption[qApp_localeName="ja_JP"] {\n\tfont-family: Sans-SerifJP;\n}`, `#caption {font-size: 16px;margin-top: 00px;}\n#caption[qApp_deviceIsPhoenix="true"] {font-size: 20px;}\n#caption[qApp_deviceIsDragon="true"] {font-size: 26px;}\n#caption[qApp_deviceIsAlyssum="true"] {font-size: 30px;}\n#caption[qApp_localeName="ja_JP"] {font-family: Sans-SerifJP;}`
    #
    # Replacement caption font size value for Touch/Mini:
    replace_string = 000A, `font-size: 16px;`, `font-size: 16px;`
    # Replacement caption font size value for Glo/Aura:
    replace_string = 0054, `font-size: 20px;`, `font-size: 20px;`
    # Replacement caption font size value for AuraHD/H2O:
    replace_string = 008C, `font-size: 26px;`, `font-size: 26px;`
    # Replacement caption font size value for GloHD:
    replace_string = 00C5, `font-size: 30px;`, `font-size: 30px;`
    #
    # Replacement caption top margin value for all devices:
    # (A negative top margin moves the caption text upwards,
    # further from the bezel and closer to the page content.)
    replace_string = 001A, `margin-top: 00px;`, `margin-top:-10px;`
    #
    # Uncomment to use a fixed replacement caption font family, for all devices:
    # (You can change Avenir to another font name of your choice, but Avenir or
    # Georgia are recommended because other fonts may not be loaded when the book
    # is first opened and so might cause problems. Unlike other strings it is OK
    # if this replacement string is a bit longer or shorter than the original.)
    #replace_string = 00D7, `#caption[qApp_localeName="ja_JP"] {font-family: Sans-SerifJP;}`, `#caption {font-family: Avenir;}
    </Patch>

  2. #2
    Habitual en el foro Avatar de pelusa
    Fecha de ingreso
    02 may, 13
    Mensajes
    32

    Predeterminado Re: Pregunta sobre megaparche y "Custom reading footer style"

    Con un editor de textos tipo EditPad no usar el de windows en:

    # Replacement footer height values: Glo/Aura
    replace_string = 0085, `min-height: 82px;`, `min-height: 40px;`
    replace_string = 0098, `max-height: 82px;`, `max-height: 40px;`

    Cambia los valores 82 y 40 ( yo cambie el 40 por 32, este valor lo utilice para el kobo glo normal).
    Lo mejor, probar hasta que se ajuste a tus deseos.
    Un saludo.

  3. El Siguiente Usuario Agradeció a pelusa Por Este Mensaje:


  4. #3
    Habitual en el foro Avatar de avresbo
    Fecha de ingreso
    10 oct, 09
    Mensajes
    48

    Predeterminado Re: Pregunta sobre megaparche y "Custom reading footer style"

    Cita Iniciado por pelusa Ver mensaje
    Con un editor de textos tipo EditPad no usar el de windows en:

    # Replacement footer height values: Glo/Aura
    replace_string = 0085, `min-height: 82px;`, `min-height: 40px;`
    replace_string = 0098, `max-height: 82px;`, `max-height: 40px;`

    Cambia los valores 82 y 40 ( yo cambie el 40 por 32, este valor lo utilice para el kobo glo normal).
    Lo mejor, probar hasta que se ajuste a tus deseos.
    Un saludo.
    Muchas gracias. Probaré.

    Ya probé a hacerlo. Si cambio esos valores me da error al generar el KoboRoot.
    Última edición por avresbo; 07/07/2015 a las 14:50

  5. #4
    Habitual en el foro Avatar de pelusa
    Fecha de ingreso
    02 may, 13
    Mensajes
    32

    Predeterminado Re: Pregunta sobre megaparche y "Custom reading footer style"

    Cita Iniciado por avresbo Ver mensaje
    Muchas gracias. Probaré.

    Ya probé a hacerlo. Si cambio esos valores me da error al generar el KoboRoot.
    Te has bajado el parche de mobileread.com?.
    Última edición por pelusa; 07/07/2015 a las 17:32

  6. #5
    Habitual en el foro Avatar de avresbo
    Fecha de ingreso
    10 oct, 09
    Mensajes
    48

    Predeterminado Re: Pregunta sobre megaparche y "Custom reading footer style"

    Funciona. Me había liado yo solo.
    Muchas gracias.

  7. #6
    Habitual en el foro Avatar de pelusa
    Fecha de ingreso
    02 may, 13
    Mensajes
    32

    Predeterminado Re: Pregunta sobre megaparche y "Custom reading footer style"

    Me alegro que ya te funcione.
    Un saludo.

Temas similares

  1. [ENERO] Leemos "Alguien voló sobre el nido del cuco"
    Por anabelee en el foro Club de lectura
    Respuestas: 45
    Último mensaje: 23/02/2014, 00:22
  2. Me presento y "la pregunta del millón"
    Por rfernandezmu en el foro Foro general
    Respuestas: 27
    Último mensaje: 12/12/2011, 13:18
  3. Respuestas: 5
    Último mensaje: 25/08/2011, 14:19
  4. Respuestas: 2
    Último mensaje: 01/11/2010, 22:39
  5. Pregunta de "novaton", ;)
    Por norishen en el foro PRS-505
    Respuestas: 9
    Último mensaje: 07/08/2010, 10:23

Permisos de publicación

  • No puedes crear nuevos temas
  • No puedes responder temas
  • No puedes subir archivos adjuntos
  • No puedes editar tus mensajes
  •