Lines Matching refs:encoding

37   function font_resolved($family, $weight, $style, $encoding) {  argument
42 isset($this->ps_fonts[$family][$weight][$style][$encoding]);
51 function resolve_font($family, $weight, $style, $encoding) { argument
52 if (!$this->font_resolved($family, $weight, $style, $encoding)) {
53 $this->ps_fonts[$family][$weight][$style][$encoding] = 'font'.$this->ps_fonts_counter;
56 return $this->ps_fonts[$family][$weight][$style][$encoding];
59 function add_family_normal_encoding_override($family, $encoding, $normal, $italic, $oblique) { argument
60 $this->overrides[$encoding][$family][WEIGHT_NORMAL][FS_NORMAL] = $normal;
61 $this->overrides[$encoding][$family][WEIGHT_NORMAL][FS_ITALIC] = $italic;
62 $this->overrides[$encoding][$family][WEIGHT_NORMAL][FS_OBLIQUE] = $oblique;
65 …function add_family_normal_encoding_override_mask($family, $encoding, $normal, $italic, $oblique) { argument
66 $this->overrides_mask[$family][WEIGHT_NORMAL][FS_NORMAL][] = array('mask' => $encoding,
68 $this->overrides_mask[$family][WEIGHT_NORMAL][FS_ITALIC][] = array('mask' => $encoding,
70 $this->overrides_mask[$family][WEIGHT_NORMAL][FS_OBLIQUE][] = array('mask' => $encoding,
74 function add_family_bold_encoding_override($family, $encoding, $normal, $italic, $oblique) { argument
75 $this->overrides[$encoding][$family][WEIGHT_BOLD][FS_NORMAL] = $normal;
76 $this->overrides[$encoding][$family][WEIGHT_BOLD][FS_ITALIC] = $italic;
77 $this->overrides[$encoding][$family][WEIGHT_BOLD][FS_OBLIQUE] = $oblique;
80 function add_family_bold_encoding_override_mask($family, $encoding, $normal, $italic, $oblique) { argument
81 $this->overrides_mask[$family][WEIGHT_BOLD][FS_NORMAL][] = array('mask' => $encoding,
83 $this->overrides_mask[$family][WEIGHT_BOLD][FS_ITALIC][] = array('mask' => $encoding,
85 $this->overrides_mask[$family][WEIGHT_BOLD][FS_OBLIQUE][] = array('mask' => $encoding,
89 function add_normal_encoding_override($encoding, $normal, $italic, $oblique) { argument
90 $this->add_family_normal_encoding_override(" ", $encoding, $normal, $italic, $oblique);
93 function add_normal_encoding_override_mask($encoding, $normal, $italic, $oblique) { argument
94 $this->add_family_normal_encoding_override_mask(" ", $encoding, $normal, $italic, $oblique);
97 function add_bold_encoding_override($encoding, $normal, $italic, $oblique) { argument
98 $this->add_family_bold_encoding_override(" ", $encoding, $normal, $italic, $oblique);
101 function add_bold_encoding_override_mask($encoding, $normal, $italic, $oblique) { argument
102 $this->add_family_bold_encoding_override_mask(" ", $encoding, $normal, $italic, $oblique);
105 function get_global_encoding_override($weight, $style, $encoding) { argument
106 return $this->get_family_encoding_override(" ", $weight, $style, $encoding);
109 function get_family_encoding_override($family, $weight, $style, $encoding) { argument
110 if (isset($this->overrides[$encoding]) &&
111 isset($this->overrides[$encoding][$family]) &&
112 isset($this->overrides[$encoding][$family][$weight]) &&
113 isset($this->overrides[$encoding][$family][$weight][$style])) {
114 return $this->overrides[$encoding][$family][$weight][$style];
121 if (preg_match($override['mask'], $encoding)) {
130 function have_global_encoding_override($weight, $style, $encoding) { argument
131 return $this->get_global_encoding_override($weight, $style, $encoding) !== "";
134 function have_family_encoding_override($family, $weight, $style, $encoding) { argument
135 return $this->get_family_encoding_override($family, $weight, $style, $encoding) !== "";
152 function get_typeface_name($family, $weight, $style, $encoding) { argument
154 return $this->get_typeface_name($this->aliases[$family], $weight, $style, $encoding);
158 if ($this->have_family_encoding_override($family, $weight, $style, $encoding)) {
159 return $this->get_family_encoding_override($family, $weight, $style, $encoding);
163 if ($this->have_global_encoding_override($weight, $style, $encoding)) {
164 return $this->get_global_encoding_override($weight, $style, $encoding);