\r
$imagesize = getimagesize(WS_DOCS . '/' . $this->pages[1]['document_id'] . '/html/h72-' . $this->pages[1]['document_page'] . '.jpg');\r
$this->pdf2htmlRatio = $imagesize[0] / $this->layouts[1]['width'];\r
- $this->scale = 10;\r
+ $this->scale = 1;\r
$this->multiply = $this->pdf2htmlRatio * $this->scale;\r
\r
$this->createHTML();\r
\r
protected function writeCSS() {\r
$res = array();\r
- $res[] = '.background{width:' . $this->book->parametres->width . 'px;height:' . $this->book->parametres->width . 'px;}';\r
+ $res[] = '.page,.background{width:' . $this->book->parametres->width . 'px;height:' . $this->book->parametres->height . 'px;}';\r
foreach ($this->cssColor as $color => $index) {\r
$res[] = '.c' . $index . '{color:#' . $color . '}';\r
}\r
\r
protected function getCSSSize(&$size) {\r
$size = $this->normalizeFloatValue($size, 1);\r
- $sizer = round($size * $this->multiply);\r
+ $sizer = $size;\r
return $this->getIndex($sizer, $this->cssSize);\r
}\r
\r