~ubuntu-branches/ubuntu/precise/libxfont/precise-security

« back to all changes in this revision

Viewing changes to src/Speedo/set_spcs.c

  • Committer: Bazaar Package Importer
  • Author(s): Bryce Harrington
  • Date: 2007-07-18 16:46:59 UTC
  • mfrom: (1.1.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20070718164659-h894n91b3dynfwi2
Tags: 1:1.3.0-0ubuntu1
* New upstream release.
* debian/control:
  - Maintainer field updated
* debian/copyright:
  - Added packaging copyright

Show diffs side-by-side

added added

removed removed

Lines of Context:
176
176
sp_globals.first_char_idx = read_word_u(sp_globals.font_org + FH_FCHRF);
177
177
 
178
178
/* Register font name with sp_globals.constraint mechanism */
179
 
#if INCL_RULES
180
179
font_id = read_word_u(sp_globals.font_org + FH_FNTID);
181
180
if (!(sp_globals.constr.font_id_valid) || (sp_globals.constr.font_id != font_id))
182
181
    {
186
185
    }
187
186
sp_globals.constr.org = sp_globals.font_org + ofcns;
188
187
sp_globals.constr.active = ((sp_globals.pspecs->flags & CONSTR_OFF) == 0);
189
 
#endif
190
188
 
191
189
/* Set up sliding point constants */
192
190
/* Set pixel shift to accomodate largest transformed pixel value */
292
290
    {
293
291
    sp_globals.tcb0.xtype = sp_globals.tcb0.ytype = 4;
294
292
    }
295
 
else                           /* Intelligent transformation requested? */
296
 
    {
297
 
#if INCL_RULES
298
 
#else
299
 
    report_error(7);           /* Rules requested; not supported */
300
 
    return FALSE;
301
 
#endif
302
 
    }
303
293
 
304
294
if ((sp_globals.pspecs->flags & SQUEEZE_LEFT) ||
305
295
    (sp_globals.pspecs->flags & SQUEEZE_RIGHT) ||