Home
last modified time | relevance | path

Searched refs:font_size (Results 1 – 25 of 25) sorted by relevance

/plugin/html2pdf/html2pdf/html2ps/
H A Dutils_units.php33 function punits2pt($value, $font_size) { argument
40 return array(units2pt($value, $font_size), false);
44 function em2pt($value, $font_size) { argument
45 return $font_size * (double)$value * EM_KOEFF;
48 function ex2pt($value, $font_size) { argument
49 return $font_size * (double)$value * EX_KOEFF;
52 function units2pt($value, $font_size = null) { argument
65 return em2pt((double)$value, $font_size);
67 return ex2pt((double)$value, $font_size);
H A Dbox.text.php29 $this->font_size = 0;
377 $font_size = $font->getPoints();
382 $koeff = $font_size / ($ascender + $descender);
392 if ($font_size > 0) {
441 $font_size = $this->get_css_property(CSS_FONT_SIZE);
442 if ($font_size->getPoints() == 0) {
474 $font_size = $this->get_css_property(CSS_FONT_SIZE);
519 $font_size->getPoints());
564 $font_size = $this->get_css_property(CSS_FONT_SIZE);
626 $font_size = $this->get_css_property(CSS_FONT_SIZE);
[all …]
H A Dbackground.position.php75 * @param float $font_size Font size to use during conversion of 'ex' and 'em' units
77 function units2pt($font_size) { argument
79 $this->x = units2pt($this->x, $font_size);
83 $this->y = units2pt($this->y, $font_size);
H A Dvalue.generic.length.php83 function units2pt($font_size) { argument
84 $this->_points = $this->toPt($font_size);
87 function toPt($font_size) { argument
98 return em2pt($this->_number, $font_size);
100 return ex2pt($this->_number, $font_size);
H A Dvalue.background.php130 * @param float $font_size Font size to use during conversion of 'ex' and 'em' units
132 function units2pt($font_size) { argument
133 $this->_position->units2pt($font_size);
H A Dvalue.generic.percentage.php40 function units2pt($font_size) { argument
42 $this->_value->units2pt($font_size);
H A Dbox.img.php139 $font_size = $font->getPoints();
141 $this->ascender = $ascender * $font_size;
142 $this->descender = $descender * $font_size;
/plugin/html2pdf/html2pdf/html2ps/unittest/
H A Dtest.pagebreak.table.lines.php80 $font_size =& $small->getCSSProperty(CSS_FONT_SIZE);
81 $this->assertEqual($font_size->getPoints(), 20);
84 $font_size =& $large->getCSSProperty(CSS_FONT_SIZE);
85 $this->assertEqual($font_size->getPoints(), 30);
H A Dtest.position.horizontal.absolute.positioned.php11 $font_size = $tree->getCSSProperty(CSS_FONT_SIZE);
12 $base = $font_size->getPoints();
H A Dtest.width.absolute.positioned.php11 $font_size = $tree->getCSSProperty(CSS_FONT_SIZE);
12 $base = $font_size->getPoints();
/plugin/projects/plugins/target/
H A Dplot.php113 $font_size = $this->plot->property('font_size');
114 if (!$font_size) $font_size = 12;
115 $plot->setFontProperties($font_name, $font_size);
116 $h = $font_size + 10;
119 $position = imageftbbox($font_size, 0, $font_name,
/plugin/signhere/
H A Dsyntax.php30 var $font_size = "x-small"; variable in syntax_plugin_signhere
77 … $renderer->doc .= '<td align="center" style="font-size:'.$this->font_size.';">'.$data[0].'</td>';
/plugin/block/
H A Dsyntax.php67 $font_size = "";
111 $font_size =" font-size: $size; ";
113 $font = $face . $font_size;
/plugin/fckg/fckeditor/editor/plugins/fonts/
H A Dfckplugin.js38 FCKFonts.Insert = function(font_weight, font_family, font_size, fg_color, bg_color) { argument
42 style += " font-size: " + font_size + "; ";
/plugin/ckgdoku/ckeditor/plugins/fontAssist/
H A Dplugin.js1font_size:"",start:"&lt;",close:"&gt;",save_color:function(A,z){this[A]=z},get:function(z){return … property in AnonymousFunctioncb3770e00200.r
H A Dplugin.js.unc54 font_size: "",
67 this['font_size'] = sz;
71 return this['font_size'] + sep + this['font'];
85 font_size: "",
149 style_spec.save_size(original_styles['font_size']);
266 size = style_spec.get('font_size') ;
639 original_styles['font_size'] = font[0];
649 updateSelectList(sel,original_styles['font_size']);
/plugin/ckgedit/ckeditor/plugins/fontAssist/
H A Dplugin.js1font_size:"",start:"&lt;",close:"&gt;",save_color:function(A,z){this[A]=z},get:function(z){return … property in AnonymousFunctionaeeccc730200.e
H A Dplugin.js.unc54 font_size: "",
67 this['font_size'] = sz;
71 return this['font_size'] + sep + this['font'];
85 font_size: "",
149 style_spec.save_size(original_styles['font_size']);
266 size = style_spec.get('font_size') ;
639 original_styles['font_size'] = font[0];
649 updateSelectList(sel,original_styles['font_size']);
/plugin/odt/ODT/css/
H A Dcssimportnew.php1175 $font_size = $this->getParentsValue('font-size', $parent);
1177 if (isset($font_size)) {
1181 $base_font_size_in_pt = $units->getDigits($font_size);
/plugin/ckgdoku/scripts/
H A Dparse_wiki-cmpr.js1font_size:"inherit",font_weight:"inherit",font_color:"inherit",font_bgcolor:"inherit",font_style:"…
H A Dparse_wiki.js.unc242 font_size: "inherit",
482 this.font_size = matches[1];
1195 …var font_str = '<font ' + this.font_size + '/' + this.font_family + ';;' + this.font_color + ';;' …
1201 this.font_size = 'inherit';
/plugin/ckgedit/scripts/
H A Dparse_wiki-cmpr.js1font_size:"inherit",font_weight:"inherit",font_color:"inherit",font_bgcolor:"inherit",font_style:"…
H A Dparse_wiki.js.unc329 font_size: "inherit",
571 this.font_size = matches[1];
1219 …var font_str = '<font ' + this.font_size + '/' + this.font_family + ';;' + this.font_color + ';;' …
1225 this.font_size = 'inherit';
/plugin/scrape/
H A DHTMLPurifier.standalone.php
/plugin/abc2/abc-libraries/abc2svg/
H A Dabc2svg-1.js649 function draw_measnb(){var s,st,bar_num,x,y,w,any_nb,font_size,w0,sy=cur_sy
655 if(staff_tb[st].staffscale!=1){font_size=get_font("measure").size;param_set_font("measurefont","* "+
656 (font_size/staff_tb[st].staffscale).toString())}
705 if(font_size)
706 param_set_font("measurefont","* "+font_size.toString())}