Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64
Apache
: 172.26.7.228 | : 13.58.191.60
Cant Read [ /etc/named.conf ]
5.6.40-24+ubuntu18.04.1+deb.sury.org+1
www-data
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
var /
www /
html /
sdu /
libs /
dompdf /
include /
[ HOME SHELL ]
Name
Size
Permission
Action
absolute_positioner.cls.php
3.14
KB
-rwxr-xr-x
abstract_renderer.cls.php
22.41
KB
-rwxr-xr-x
attribute_translator.cls.php
14.87
KB
-rwxr-xr-x
autoload.inc.php
2.48
KB
-rwxr-xr-x
block_frame_decorator.cls.php
5.98
KB
-rwxr-xr-x
block_frame_reflower.cls.php
23.3
KB
-rwxr-xr-x
block_positioner.cls.php
1.4
KB
-rwxr-xr-x
block_renderer.cls.php
6.63
KB
-rwxr-xr-x
cached_pdf_decorator.cls.php
5.66
KB
-rwxr-xr-x
canvas.cls.php
9.16
KB
-rwxr-xr-x
canvas_factory.cls.php
1.49
KB
-rwxr-xr-x
cellmap.cls.php
19
KB
-rwxr-xr-x
cpdf_adapter.cls.php
24.47
KB
-rwxr-xr-x
css_color.cls.php
7.71
KB
-rwxr-xr-x
dompdf.cls.php
30.77
KB
-rwxr-xr-x
dompdf_exception.cls.php
551
B
-rwxr-xr-x
dompdf_image_exception.cls.php
553
B
-rwxr-xr-x
file.skel
228
B
-rwxr-xr-x
fixed_positioner.cls.php
2.73
KB
-rwxr-xr-x
font_metrics.cls.php
10.93
KB
-rwxr-xr-x
frame.cls.php
27.46
KB
-rwxr-xr-x
frame_decorator.cls.php
15.94
KB
-rwxr-xr-x
frame_factory.cls.php
6.59
KB
-rwxr-xr-x
frame_reflower.cls.php
12.66
KB
-rwxr-xr-x
frame_tree.cls.php
5.85
KB
-rwxr-xr-x
functions.inc.php
26.45
KB
-rwxr-xr-x
gd_adapter.cls.php
19.28
KB
-rwxr-xr-x
image_cache.cls.php
5.79
KB
-rwxr-xr-x
image_frame_decorator.cls.php
1.99
KB
-rwxr-xr-x
image_frame_reflower.cls.php
6.29
KB
-rwxr-xr-x
image_renderer.cls.php
3.36
KB
-rwxr-xr-x
inline_frame_decorator.cls.php
2.29
KB
-rwxr-xr-x
inline_frame_reflower.cls.php
1.84
KB
-rwxr-xr-x
inline_positioner.cls.php
1.86
KB
-rwxr-xr-x
inline_renderer.cls.php
7.28
KB
-rwxr-xr-x
javascript_embedder.cls.php
732
B
-rwxr-xr-x
line_box.cls.php
4.96
KB
-rwxr-xr-x
list_bullet_frame_decorator.cl...
2.01
KB
-rwxr-xr-x
list_bullet_frame_reflower.cls...
845
B
-rwxr-xr-x
list_bullet_image_frame_decora...
4.46
KB
-rwxr-xr-x
list_bullet_positioner.cls.php
2.57
KB
-rwxr-xr-x
list_bullet_renderer.cls.php
6.33
KB
-rwxr-xr-x
null_frame_decorator.cls.php
576
B
-rwxr-xr-x
null_frame_reflower.cls.php
475
B
-rwxr-xr-x
null_positioner.cls.php
452
B
-rwxr-xr-x
page_cache.cls.php
3.74
KB
-rwxr-xr-x
page_frame_decorator.cls.php
16.77
KB
-rwxr-xr-x
page_frame_reflower.cls.php
5.31
KB
-rwxr-xr-x
pdflib_adapter.cls.php
27.62
KB
-rwxr-xr-x
php_evaluator.cls.php
1.04
KB
-rwxr-xr-x
positioner.cls.php
1.08
KB
-rwxr-xr-x
renderer.cls.php
7.1
KB
-rwxr-xr-x
style.cls.php
70.98
KB
-rwxr-xr-x
stylesheet.cls.php
39.64
KB
-rwxr-xr-x
table_cell_frame_decorator.cls...
2.75
KB
-rwxr-xr-x
table_cell_frame_reflower.cls....
3.63
KB
-rwxr-xr-x
table_cell_positioner.cls.php
716
B
-rwxr-xr-x
table_cell_renderer.cls.php
4.92
KB
-rwxr-xr-x
table_frame_decorator.cls.php
8.35
KB
-rwxr-xr-x
table_frame_reflower.cls.php
16.47
KB
-rwxr-xr-x
table_row_frame_decorator.cls....
1.12
KB
-rwxr-xr-x
table_row_frame_reflower.cls.p...
1.48
KB
-rwxr-xr-x
table_row_group_frame_decorato...
1.53
KB
-rwxr-xr-x
table_row_group_frame_reflower...
1.53
KB
-rwxr-xr-x
table_row_group_renderer.cls.p...
1.11
KB
-rwxr-xr-x
table_row_positioner.cls.php
780
B
-rwxr-xr-x
tcpdf_adapter.cls.php
14.11
KB
-rwxr-xr-x
text_frame_decorator.cls.php
5.56
KB
-rwxr-xr-x
text_frame_reflower.cls.php
13.48
KB
-rwxr-xr-x
text_renderer.cls.php
4.89
KB
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : text_renderer.cls.php
<?php /** * @package dompdf * @link http://dompdf.github.com/ * @author Benj Carson <benjcarson@digitaljunkies.ca> * @author Helmut Tischer <htischer@weihenstephan.org> * @author Fabien Ménager <fabien.menager@gmail.com> * @license http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License */ /** * Renders text frames * * @access private * @package dompdf */ class Text_Renderer extends Abstract_Renderer { const DECO_THICKNESS = 0.02; // Thickness of underline. Screen: 0.08, print: better less, e.g. 0.04 //Tweaking if $base and $descent are not accurate. //Check method_exists( $this->_canvas, "get_cpdf" ) //- For cpdf these can and must stay 0, because font metrics are used directly. //- For other renderers, if different values are wanted, separate the parameter sets. // But $size and $size-$height seem to be accurate enough const UNDERLINE_OFFSET = 0.0; // Relative to bottom of text, as fraction of height. const OVERLINE_OFFSET = 0.0; // Relative to top of text const LINETHROUGH_OFFSET = 0.0; // Relative to centre of text. const DECO_EXTENSION = 0.0; // How far to extend lines past either end, in pt //........................................................................ /** * @param Text_Frame_Decorator $frame */ function render(Frame $frame) { $text = $frame->get_text(); if ( trim($text) === "" ) return; $style = $frame->get_style(); list($x, $y) = $frame->get_position(); $cb = $frame->get_containing_block(); if ( ($ml = $style->margin_left) === "auto" || $ml === "none" ) $ml = 0; if ( ($pl = $style->padding_left) === "auto" || $pl === "none" ) $pl = 0; if ( ($bl = $style->border_left_width) === "auto" || $bl === "none" ) $bl = 0; $x += $style->length_in_pt( array($ml, $pl, $bl), $cb["w"] ); $font = $style->font_family; $size = $frame_font_size = $style->font_size; $height = $style->height; $word_spacing = $frame->get_text_spacing() + $style->length_in_pt($style->word_spacing); $char_spacing = $style->length_in_pt($style->letter_spacing); $width = $style->width; /*$text = str_replace( array("{PAGE_NUM}"), array($this->_canvas->get_page_number()), $text );*/ $this->_canvas->text($x, $y, $text, $font, $size, $style->color, $word_spacing, $char_spacing); $line = $frame->get_containing_line(); // FIXME Instead of using the tallest frame to position, // the decoration, the text should be well placed if ( false && $line->tallest_frame ) { $base_frame = $line->tallest_frame; $style = $base_frame->get_style(); $size = $style->font_size; $height = $line->h * ($size / $style->line_height); } $line_thickness = $size * self::DECO_THICKNESS; $underline_offset = $size * self::UNDERLINE_OFFSET; $overline_offset = $size * self::OVERLINE_OFFSET; $linethrough_offset = $size * self::LINETHROUGH_OFFSET; $underline_position = -0.08; if ( $this->_canvas instanceof CPDF_Adapter ) { $cpdf_font = $this->_canvas->get_cpdf()->fonts[$style->font_family]; if (isset($cpdf_font["UnderlinePosition"])) { $underline_position = $cpdf_font["UnderlinePosition"]/1000; } if (isset($cpdf_font["UnderlineThickness"])) { $line_thickness = $size * ($cpdf_font["UnderlineThickness"]/1000); } } $descent = $size * $underline_position; $base = $size; // Handle text decoration: // http://www.w3.org/TR/CSS21/text.html#propdef-text-decoration // Draw all applicable text-decorations. Start with the root and work our way down. $p = $frame; $stack = array(); while ( $p = $p->get_parent() ) $stack[] = $p; while ( isset($stack[0]) ) { $f = array_pop($stack); if ( ($text_deco = $f->get_style()->text_decoration) === "none" ) continue; $deco_y = $y; //$line->y; $color = $f->get_style()->color; switch ($text_deco) { default: continue; case "underline": $deco_y += $base - $descent + $underline_offset + $line_thickness/2; break; case "overline": $deco_y += $overline_offset + $line_thickness/2; break; case "line-through": $deco_y += $base * 0.7 + $linethrough_offset; break; } $dx = 0; $x1 = $x - self::DECO_EXTENSION; $x2 = $x + $width + $dx + self::DECO_EXTENSION; $this->_canvas->line($x1, $deco_y, $x2, $deco_y, $color, $line_thickness); } if (DEBUG_LAYOUT && DEBUG_LAYOUT_LINES) { $text_width = Font_Metrics::get_text_width($text, $font, $frame_font_size); $this->_debug_layout(array($x, $y, $text_width+($line->wc-1)*$word_spacing, $frame_font_size), "orange", array(0.5, 0.5)); } } }
Close