public $cssOneHeight;
public $cssScale;
public $linkScale;
- public $cssSVGScale;
public $optimalWidth = 567;
public $optimalHeight = 709;
public $additionalConfig = array();
$this->cssOneWidth = $this->width * $this->cssOneScale;
$this->cssOneHeight = $this->height * $this->cssOneScale;
- $this->cssSVGScale = 1;
-
$this->scale = 1;
$this->numerotation = explode(',', $this->book->numerotation);
$corrText = $this->isMobileFirst() ? 0 : 4;
$this->log('CSS 3');
- if ($this->cssSVGScale != 1) {
- $texts = '.texts{' . wsHTML5::writeCSSUA('transform-origin', 'top left') . ';';
- $texts .= wsHTML5::writeCSSUA('transform', 'scale(' . round((1 / $this->multiply) * $cssScale * $this->cssSVGScale, 3) . ')') . ';';
- $texts .= 'width:' . ($wm / $this->cssSVGScale) . 'px; max-width:' . ($wm / $this->cssSVGScale) . 'px;';
- $texts .= 'height:' . ($hm / $this->cssSVGScale) . 'px; max-height:' . ($hm / $this->cssSVGScale) . 'px;';
- $texts .= '}';
- } else {
- $texts = '.texts{width:' . floor(floatval($w) + $corrText) . 'px;height:' . floor(floatval($h) + $corrText) . 'px;}';
- }
-
- $res[] = $texts;
+// $texts = '.texts{width:' . floor(floatval($w) + $corrText) . 'px;height:' . floor(floatval($h) + $corrText) . 'px;}';
+//
+// $res[] = $texts;
// Theme
$shade = '.page .shade{';