mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-26 10:08:06 +02:00
Remove $ from property names.
This commit is contained in:
parent
9c58cd4817
commit
b69c6cba6e
2 changed files with 14 additions and 14 deletions
6
fonts.js
6
fonts.js
|
@ -501,8 +501,8 @@ var FontShape = (function FontShape() {
|
|||
var italic = this.italic ? 'italic' : 'normal';
|
||||
this.fontFallback = this.serif ? 'serif' : 'sans-serif';
|
||||
|
||||
this.$name1 = italic + ' ' + bold + ' ';
|
||||
this.$name2 = 'px "' + name + '", "';
|
||||
this.namePart1 = italic + ' ' + bold + ' ';
|
||||
this.namePart2 = 'px "' + name + '", "';
|
||||
|
||||
this.supported = Object.keys(this.encoding).length != 0;
|
||||
|
||||
|
@ -517,7 +517,7 @@ var FontShape = (function FontShape() {
|
|||
constructor.prototype = {
|
||||
getRule: function fonts_getRule(size, fallback) {
|
||||
fallback = fallback || this.fontFallback;
|
||||
return this.$name1 + size + this.$name2 + fallback + '"';
|
||||
return this.namePart1 + size + this.namePart2 + fallback + '"';
|
||||
},
|
||||
|
||||
charsToUnicode: function fonts_chars2Unicode(chars) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue