func ConverterOptionFullScreenFixes() ConverterOption {
	return converterOptionAddCSS("kepubify-fullscreenfixes", cssFullScreenFixes)
}
ConverterOptionFullScreenFixes applies fullscreen fixes for firmware versions
older than 4.19.11911.
package kepub
import (
	"context"
	"math"
)
type Converter struct {
	extraCSS      []string
	extraCSSClass []string
	smartypants bool
	find    [][]byte
	replace [][]byte
	dummyTitlepageForce      bool
	dummyTitlepageForceValue bool
}
type ConverterOption func(*Converter)
func NewConverter() *Converter {
	return NewConverterWithOptions()
}
func NewConverterWithOptions(opts ...ConverterOption) *Converter {
	c := new(Converter)
	for _, f := range opts {
		f(c)
	}
	return c
}
func ConverterOptionSmartypants() ConverterOption {
	return func(c *Converter) {
		c.smartypants = true
	}
}
func ConverterOptionFindReplace(find, replace string) ConverterOption {
	return func(c *Converter) {
		c.find = append(c.find, []byte(find))
		c.replace = append(c.replace, []byte(replace))
	}
}
func ConverterOptionDummyTitlepage(add bool) ConverterOption {
	return func(c *Converter) {
		c.dummyTitlepageForce = true
		c.dummyTitlepageForceValue = add
	}
}
func ConverterOptionAddCSS(css string) ConverterOption {
	return converterOptionAddCSS("kepubify-extracss", css)
}
func ConverterOptionHyphenate(hyphenate bool) ConverterOption {
	if hyphenate {
		return converterOptionAddCSS("kepubify-hyphenate", cssHyphenate)
	}
	return converterOptionAddCSS("kepubify-nohyphenate", cssNoHyphenate)
}