Index: trunk/extensions/WebFonts/js/webfonts.js |
— | — | @@ -43,15 +43,6 @@ |
44 | 44 | //Set the font, fallback fonts.Need to change the fonts of Input Select and Textarea explicitly. |
45 | 45 | $("body, input, select, textarea").css('font-family', "'"+ font +"', Helvetica, Arial, sans-serif"); |
46 | 46 | |
47 | | - //scale the font of the page. Scale is in percentage. |
48 | | - // For example scale = 1.2 means scale the font by 120 percentage |
49 | | - if ( 'scale' in config ) { |
50 | | - $.webfonts.scale(config.scale); |
51 | | - } |
52 | | - else{ |
53 | | - $.webfonts.scale(1); |
54 | | - } |
55 | | - |
56 | 47 | if ( 'normalization' in config ) { |
57 | 48 | $(document).ready(function() { |
58 | 49 | $.webfonts.normalize(config.normalization); |
— | — | @@ -78,16 +69,6 @@ |
79 | 70 | }, |
80 | 71 | |
81 | 72 | /** |
82 | | - * Scale the font of the page by given percentage |
83 | | - * @param percentage of scale. eg 1.2 for 120% scale |
84 | | - */ |
85 | | - scale: function(percentage) { |
86 | | - //TODO: Not Implemented. Need to find a better way to emulate fontconfig font-scale feature. |
87 | | - //Changing the font-size of few selectors does not work properly and not able to achieve |
88 | | - //uniform scaling. |
89 | | - }, |
90 | | - |
91 | | - /** |
92 | 73 | * Does a find replace of string on the page. |
93 | 74 | * @param normalization_rules hashmap of replacement rules. |
94 | 75 | */ |