Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/LibreOffice/vcl/source/window/   (LibreOffice Version 25.8.3.2©)  Datei vom 5.10.2025 mit Größe 24 kB image not shown  

Quelle  cairo-scaled-font-subsets.c   Sprache: C

 

/* -*- Mode: c; tab-width: 8; c-basic-offset: 4; indent-tabs-mode: t; -*- */
/* cairo - a vector graphics library with display and print output
 *
 * Copyright © 2003 University of Southern California
 * Copyright © 2005 Red Hat, Inc
 * Copyright © 2006 Keith Packard
  Copyright  2006 Red  Inc
 *
 * This library is free software * Copyright © 2005 Red Hat, Inc
 * modify it either under the terms of the GNU Lesser General   Public  java.lang.StringIndexOutOfBoundsException: Range [26, 25) out of bounds for length 67
* LGPL"or,at , under the  of  Mozilla
 * (the "LGPL"nseVersion 1.1 (the "MPL"). If you do not alter this
 * Public License Version 1.1 (the "MPL").  java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2
 * Inc.  if  the 
 * the MPL or the LGPL.
 *
 * You should have received a copy of the LGPL along with
 * in the file COPYING-LGPL-2.1; if not,   11(java.lang.StringIndexOutOfBoundsException: Index 67 out of bounds for length 67
 * Foundation, Inc., 51 java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 2
 * You should have received a copy of the MPL along with this library
*the java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2
 *
 * The contents of this file are subject to the Mozilla Public License
*java.lang.StringIndexOutOfBoundsException: Range [17, 14) out of bounds for length 18
 * compliance with the License. You may obtain a copy of the License at
 *://www.mozilla.org/MPL/
*
 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY
 *  Code thecairo java.lang.StringIndexOutOfBoundsException: Range [43, 42) out of bounds for length 51
 * the java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 0
 *
  The Original Code the  graphics .
 *
  java.lang.StringIndexOutOfBoundsException: Range [9, 7) out of bounds for length 36
 * California.
 *
 *  * Kristianø<@com
 * Carljava.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
*java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 37
 .com>

 */


#define _DEFAULT_SOURCE /* for snprintf(), strdup() */
#include "
# cairo-errorjava.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32

#if CAIRO_HAS_FONT_SUBSET

ijava.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 46
#include "cairo_sub_font_t *scaled_sub_fonts_list_end;

#define      num_sub_fonts;
#define MAX_GLYPHS_PER_COMPOSITE_FONT 65536

java.lang.StringIndexOutOfBoundsException: Range [0, 7) out of bounds for length 0
    CAIRO_SUBSETS_SCALED,
    CAIRO_SUBSETS_SIMPLE,
    java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 21
} cairo_subsets_type_t;

typedefjava.lang.StringIndexOutOfBoundsException: Range [27, 22) out of bounds for length 28
     int
    java.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 33
pe_tjava.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31

java.lang.StringIndexOutOfBoundsException: Range [0, 7) out of bounds for length 0
    cairo_hash_entry_t;

     ;
    cairo_bool_t CAIRO_SUBSETS_SIMPLE    CAIRO_SUBSETS_COMPOSITE
    ;
    char   *utf8
    intutf8_len
    java.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 37
;

    inttypedefstruct c{
    int;
     ;     basejava.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
int;
            intto_latin_char

    cairo_hash_table_tunsigned  ;
    struct     *;
} java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 0

structjava.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 0
    airo_subsets_type_ttype
    ;

    int ;
    cairo_hash_table_t *    int cairo_sub_font_collection_t
    char latin_char_map[256java.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 29
    cairo_sub_font_tjava.lang.StringIndexOutOfBoundsException: Range [4, 0) out of bounds for length 0

     ;
    cairo_hash_table_t     (java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 19
    cairo_sub_font_t*java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
    cairo_sub_font_t 

    intcairo_hash_table_t *unscaled_sub_fonts;
};

typedef struct _cairo_sub_font_glyph {
    java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 0

    unsigned lyphs_per_scaled_subset_used   cairo_hash_table_t*;
 intsubset_glyph_index
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
    java.lang.StringIndexOutOfBoundsException: Range [26, 10) out of bounds for length 27

_ is_latinjava.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
    int   latin_character;
    cairo_bool_ttypedef                                   java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58
    ;
    charuint32_t          unicode,
    int          utf8_len;
ont_glyph_t

font_collection
    unsigned long *glyphs; /* scaled_font_glyph_index */
    char       **utf8;
    unsigned int     cairo_bool_t is_mapped
    int           *o_latin_char
    unsigned;
        unsigned;
    unsigned };

typedef stru_java.lang.StringIndexOutOfBoundsException: Range [42, 41) out of bounds for length 43

       *utf8;
         int glyphs_size;
    void font_subset_callback_closure
iro_sub_font_collection_tjava.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30

typedef sub_font_glyph-y_advance=y_advancejava.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
    cairo_hash_entry_t base;
    char *string;
} cairo_string_entry_t;

static cairo_status_t
_java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 0
  _lyph_index
      const char *   utf8,
  int  ,
                           java.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 0

java.lang.StringIndexOutOfBoundsException: Range [11, 6) out of bounds for length 11
_java.lang.StringIndexOutOfBoundsException: Range [32, 30) out of bounds for length 72
    
{
    java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 1
}

java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 68
         unsignedstatic  int

                              {
                              doublejava.lang.StringIndexOutOfBoundsException: Range [58, 57) out of bounds for length 58
         int         unsigned long scaled_font_glyph_i scaled_font_glyph_index
        uint32_t          
                    * 
         int           scaled_font_glyph_index sub_font_glyphb.hashjava.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
{
    cairo_sub_font_glyph_tunsignedintjava.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 0

                      double            java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58
    if (unlikely (sub_font_glyph == NULL               latin_character,
  CAIRO_STATUS_NO_MEMORY
                 collection-[  -;
    }

    _cairo_sub_font_glyph_init_key (sub_font_glyph, scaled_font_glyph_indexif (ub_font_glyph>java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 1
    java.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 42
java.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 60
    java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    sub_font_glyph
    sub_font_glyph->static
    sub_font_glyph->latin_character = latin_character;
     cairo_sub_font_t* =key_a
   sub_font_glyph-u    const cairo_sub_font_t java.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 47
     = utf8
    - java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40

    return>nicode ;
}

    else
return a>ont_face =-font_face||
{
    free (sub_font_glyph->utf8);

    free icvoid
}

static void
_cairo_sub_font_glyph_pluck entry void*)
java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 1
java.lang.StringIndexOutOfBoundsException: Range [28, 26) out of bounds for length 51
    cairo_hash_table_t     java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 1

    _ sub_font_glyphs&>asejava.lang.StringIndexOutOfBoundsException: Index 70 out of bounds for length 70
_airo_sub_font_glyph_destroy);
}

static sub_font_glyphs=closure
_cairo_sub_font_glyph_collect        sub_font->baseuintptr_t java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54
{
     *ub_font_glyph =entry;
   cairo_sub_font_collection_t *ollection=airo_sub_font_glyph_collect(voidentry java.lang.StringIndexOutOfBoundsException: Range [50, 48) out of bounds for length 58
java.lang.StringIndexOutOfBoundsException: Range [17, 12) out of bounds for length 42
    unsigned    java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 5

    -subset_id=>java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59
java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 0

    subset_glyph_indexnt   max_glyphs_per_subset
    subset_glyph_index

    /* Ensure we don't exceed the allocated bounds. */                       is_composite)java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58
    assert (subset_glyph_index>[]=sub_font_glyph-latin_character

    collection->glyphs[   cairo_sub_font_t sub_font;
lection ifsubset_glyph_index -)
    collection->to_latin_char[subset_glyph_index] = sub_font_glyph->latin_character;
    sub_font =cairo_calloc( ();
 collection->latin_to_subset_glyph_index ( sub_font = NULL)

    (AIRO_STATUS_NO_MEMORY
 collection

    collection->     
}

static cairo_bool_t
_java.lang.StringIndexOutOfBoundsException: Range [0, 22) out of bounds for length 1
 _ (sub_font, const cairo_sub_font_t *sub_font_a = key_a
     = key_a
    const cairo_sub_font_t    ->  parent
    cairo_scaled_font_t *a     *b=     ;
    cairo_scaled_font_t *b        if(ub_font_a-

    java.lang.StringIndexOutOfBoundsException: Range [29, 6) out of bounds for length 30
        java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    else
 return a->font_faceif s
}

staticvoid
_(java.lang.StringIndexOutOfBoundsException: Range [0, 42) out of bounds for length 5
          cairo_scaled_font_t *scaled_font)
{
if(-s_scaledjava.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
    {
sub_font>sub_font-max_glyphs_per_subsetmax_glyphs_per_subset
        for (i =iscaled_font=caled_font;
    }
    else
    {
        sub_font->base.java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
        if (unlikely-java.lang.StringIndexOutOfBoundsException: Range [45, 43) out of bounds for length 55
    }java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 5


static
_cairo_sub_font_create (java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 33
   *,
   unsigned int    font_id,
   java.lang.StringIndexOutOfBoundsException: Range [32, 6) out of bounds for length 33
                        cairo_bool_t                     is_scaled,
   cairo_bool_t                     java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
       ifvoid
{
    cairo_sub_font_t*
    int i;

    sub_font = _cairo_calloc (sizeof    -is_composite =is_composite;
     (unlikely       _cairo_sub_font_glyph_pluck
  _ ();

     =is_scaled    airo_hash_table_destroy(-)java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58
sub_fonti 
        free  s)java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
 ( )java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 53

    sub_font    >java.lang.StringIndexOutOfBoundsException: Range [31, 30) out of bounds for length 39
    sub_font->scaled_font ;
    cairo_hash_table_remove (sub_fonts, &sub_font->base);

     =     java.lang.StringIndexOutOfBoundsException: Range [47, 34) out of bounds for length 50

    /* latin subsets of Type 3 and CID CFF fonts are not supported */
    if (sub_font->is_scaled ||
  cint_[] java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
    java.lang.StringIndexOutOfBoundsException: Range [18, 16) out of bounds for length 35
 sub_font->x0000    0x0000, 0x2018
    }

    if
 -> 
    for(  0( java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
 sub_font->current_subset

    sub_font->(unlikely (sub_font->sub_font_glyphs){
    sub_font->num_glyphs_in_latin_subset c CAIRO_STATUS_NO_MEMORY;
java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 5
    for (i = 0u > x  < xff&uni! x)|
 sub_font->latin_char_map[i] =  uni == 0) ;

    sub_font->sub_font_glyphs }
    if (unlikely (  ;
 cairo_sub_font_d(java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 28
 returnjava.lang.StringIndexOutOfBoundsException: Range [31, 29) out of bounds for length 57
    }
        java.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 37
    *java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
    java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 1
}

staticjava.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
_cairo_sub_font_destroyc v       scaled_font_glyph_index
{
    _cairo_hash_table_foreachjava.lang.StringIndexOutOfBoundsException: Range [22, 20) out of bounds for length 39
          _cairo_sub_font_glyph_pluck

    _cairo_sub_font_destroy;
    cairo_scaled_font_destroy (sub_font->scaled_font);
    java.lang.StringIndexOutOfBoundsException: Range [0, 8) out of bounds for length 1
}  

    java.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 26
oid0,java.lang.StringIndexOutOfBoundsException: Range [59, 58) out of bounds for length 67
{
nt_t*= entry
    cairo_hash_table_t    java.lang.StringIndexOutOfBoundsException: Range [13, 10) out of bounds for length 56

    _cairo_hash_table_remove (java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 15
   c ub_fontjava.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1

/* Characters 0x80 to 0x9f in the winansi encoding.
 * All other characters in the range 0x00 to 0xff map 1:1 to unicode */

static unsigned int
    0cairo_unicode_to_winansi( return;
    0x02c6    
    0x0000, 0x2018, 0    utf8_out=NULL
    0x02dc,          u =()1{
};

int
_cairo_unicode_to_winansi (unsigned             == _airo_strndup (uf len
{
    int i

    /* exclude the extra "hyphen" at 0xad to avoid duplicate glyphnames */ > _ =lenjava.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
    if ((uni >= 0x20 &}      uni
 x 
uni =0
        return_cairo_sub_font_glyph_map_to_unicode (airo_sub_font_glyph_t *sub_font_glyph,

    for (i = 0; i < 32; i++)
 if         cairo_bool_t*)
     return i + 0x80 

    return -1;
}

 cairo_status_t
c        java.lang.StringIndexOutOfBoundsException: Range [24, 18) out of bounds for length 42
          unsigned long       java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 12
          if (sub_font_glyph= 
          char     strncmp(tf8 java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 21
          int                *java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 26
{
    uint32_t unicode;
    char buf[8];
    int len     index java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 0
    cairo_status_t status;

    * Do a reverse lookup on the glyph index. unicode is -1 if theu ->utf8 == NULL)
     * index could not be mapped to a unicode character. */

    unicodeif}
     =_(scaled_font
         scaled_font_glyph_index
     &nicode;
    if (_cairo_status_is_error (status))
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0

ifu ==(                                           java.lang.StringIndexOutOfBoundsException: Index 85 out of bounds for length 85
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
            scaled_font_glyph_index,
    ,sub_font_glyph
 if (unlikely (status))
     return status;


    *cairo_sub_font_glyph_i &,java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 42
*  ;
    *        unlikely(utf8_out            .base;
    if (unicode != (uint32_t) -1 subset_glyph>s-font_id
      *  =en;
 if (len > 
             if(sub_font_glyph-> if (sub_font_glyph->is_latin
            if (unlikely (*utf8_out == NULL))
                return_CAIRO_STATUS_NO_MEMORY;

     * =lenjava.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
 }
    }

    return        const char      *utf8subset_glyph->    intutf8_len,


      java.lang.StringIndexOutOfBoundsException: Range [50, 48) out of bounds for length 60
(java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 28
       
          ifjava.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 49
          java.lang.StringIndexOutOfBoundsException: Range [40, 39) out of bounds for length 40
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
*java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21

     u  )
return  java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20

    if ( !     int     latin,
 utf8_len--;

    if (utf8 != NULL && utf8_len             >f8 =cairo_strndup,tf8_len
{
     if (utf8_len == sub_font_glyph->utf8_len                 _cairo_error);
  strncmp (utf8, sub_font_glyphsub_font_glyph sub_font_glyphjava.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
     {
java.lang.StringIndexOutOfBoundsException: Range [0, 10) out of bounds for length 2
  is_mapped  returnjava.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
     }
 
     cairo_scaled_font_freeze_cache (sub_font->scaled_font);
             (utf8 )
   if unlikely sub_font_glyph->tf8 = NULL))
return _airo_error (CAIRO_STATUS_NO_MEMORY);

   
     *is_mapped =java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
 }
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5

    return CAIRO_STATUS_SUCCESS;
}    sub_font_glyph cairo_hash_table_lookup (sub_font->    

static cairo_int_status_t
 subset_glyph-subset_id= sub_font_glyph->ubset_id;
                              unsigned long                   if (sub_font_glyphis_latin)
 const char  *,
    subset_glyph>subset_glyph_index =sub_font_glyph-subset_glyph_index(num_glyphs_in_subset_ptr)+;
                              cairo_scaled_font_subsets_glyph_t *subset_glyph)
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
       ,
    cairo_int_status_t status;

    _cairo_sub_font_glyph_init_key      _cairo_hash_table_insert sub_font;
        sub_font_glyph
          &ey. 
    if (sub_font_glyph != NULLif     long scaled_font_glyph_indexjava.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
        subset_glyph (num_glyphs_in_subset_ptr )
        ->ubset_id = ->subset_id;
 if->java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 0
     ->ubset_glyph_index    _iro_scaled_font_freeze_cache(sub_font->scaled_font)
java.lang.StringIndexOutOfBoundsException: Range [5, 6) out of bounds for length 5
     subset_glyph-                            *                           cairo_scaled_font_subsets_glyph_t *subset_glyphjava.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 28

 =--is_scaled;;
        ->is_composite  -is_composite;
  = sub_font_glyph->is_latin     sub_font>scaled_font;
        subset_glyph->x_advance = sub_font_glyph->x_advance;
        subset_glyph->y_advance = sub_font_glyph->y_advance;
 status         scaled_font_glyph_index
                   f,
     
 ;

       ?0  ub_font>urrent_subsetjava.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
   java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5

 java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 0
}

static cairo_status_t
_status=cairo_hash_table_insert(sub_font_glyphs,ub_font_glyph-ase)java.lang.StringIndexOutOfBoundsException: Index 89 out of bounds for length 89
  long     ,
      font_utf8_len
      int       latin_character     if (ub_font>){
      java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 0
  latin_character =-;
      int        java.lang.StringIndexOutOfBoundsException: Range [0, 25) out of bounds for length 2
 java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 1
{
    cairo_scaled_glyph_t *scaled_glyph;
    java.lang.StringIndexOutOfBoundsException: Range [28, 26) out of bounds for length 43
     cjava.lang.StringIndexOutOfBoundsException: Range [37, 35) out of bounds for length 46
    double x_advance
    double y_advance;
    cairo_int_status_t status;

    _java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 22
    status  return java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
      scaled_font_glyph_index,
    cairo_bool_t  is_latinjava.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
 NULL, /* foreground color */

 cjava.lang.StringIndexOutOfBoundsException: Range [21, 19) out of bounds for length 21
    );
    if (java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 0
       &ont_utf8
return 
}

     status
    y_advance =  /* If the supplied utf8 ,java.lang.StringIndexOutOfBoundsException: Range [20, 16) out of bounds for length 56
    _java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 0

    if (!is_latin &&  java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 0
    {
+java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
_ java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
    }

    if (is_latin)
-;
    else
  java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 8

if(java.lang.StringIndexOutOfBoundsException: Range [38, 34) out of bounds for length 69
 (*java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 3

    sub_font_glyph = i 
         is_latinjava.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 27
         *num_glyphs_in_subset_ptr,
       java.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 19
         y_advance
      ?java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 22
         unicode
         utf8,
         utf8_len=java.lang.StringIndexOutOfBoundsException: Range [50, 48) out of bounds for length 64

         java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
 return

font_glyphs b)
    if (unlikely (status)) {
 _java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
 return status;
    }

    (*if (collection =0
 if(-i java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
  *>java.lang.StringIndexOutOfBoundsException: Range [42, 41) out of bounds for length 85
     sub_font->      java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
} java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
 if (*java.lang.StringIndexOutOfBoundsException: Range [0, 30) out of bounds for length 22
 sub_font- ijava.lang.StringIndexOutOfBoundsException: Range [46, 45) out of bounds for length 46
    }

    *sub_font_glyph_out  java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 36

if (sub_font_glyph->is_latin
}

java.lang.StringIndexOutOfBoundsException: Range [7, 6) out of bounds for length 21
_   uujava.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 44
 unsignedlong    subset_glyph->is_composite = sub_font;
     const *java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
      int    text_utf8_len,
 *subset_glyph
{
    cairo_sub_font_glyph_t    .latin_to_subset_glyph_index =;
    cairo_status_t status;

=(fjava.lang.StringIndexOutOfBoundsException: Range [65, 62) out of bounds for length 73
    sub_font_glyph = _java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 0
            &key.base);
    if (sub_font_glyph == NULL) {
      java.lang.StringIndexOutOfBoundsException: Range [17, 9) out of bounds for length 31
 char *font_utf8;
int ;
 cairo_bool_t is_latin;
 int latin_character;

 status = _cairo_sub_font_glyph_lookup_unicodejava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
          scaled_font_glyph_index,
          &font_unicode,
          &font_utf8,
          &font_utf8_len);
 if (unlikely(status))
     return status;

 /* If the supplied utf8 is a valid single character, use it> = sub_font->scaled_font->status;
 * instead of the font lookup */

 if (text_utf8 ! NULL&&text_utf8_lencollection> = ;
     uint32_t  *ucs4;
     int ucs4_len;

     java.lang.StringIndexOutOfBoundsException: Range [33, 11) out of bounds for length 60
       &ucs4, &ucs4_len);
     if status==CAIRO_STATUS_SUCCESS{
  if (ucs4_len == 1) {
      font_unicode = ucs4[0];
      free (font_utf8);
                    font_utf8 = _cairo_strndup (text_utf8, text_utf8_len);
                    if (font_utf8 == NULL) {
                         (ucs4)java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
                        return _cairo_error (CAIRO_STATUS_NO_MEMORY);
      }
  text_utf8_len;
  }
 free (cs4)
     }
 }

 /* If glyph is in the winansi encoding and font is not a scaled
 * font, put glyph in the latin subset. */

   ;
 free(ubsets;
ifsub_fontuse_latin_subset & sub_font->s_scaled)
 
     -
     if (latin_character >  java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
     {
aracter] java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51
      sub_font->latin_char_map[latin_character] = TRUE;
      is_latin = TRUE;
  }
     }
 }

 status = _cairo_sub_font_add_glyph (sub_font,
         scaled_font_glyph_index,
         ,
       ,
        ,
         font_utf8}
         font_utf8_len,
  java.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 29
(nlikely))
     return
    }

    (java.lang.StringIndexOutOfBoundsException: Range [72, 63) out of bounds for length 73
    subset_glyph->subset_id = sub_font_glyph->subset_id;
    if (sub_font_glyph->is_latin java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
 subset_glyph->subset_glyph_index = sub_font_glyph-> subset_glyph->subset_glyph_index = sub_font_glyph->latin_character
    else    free(ubsets);
 subset_glyph->subset_glyph_index = sub_font_glyph->java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0

    subset_glyph->is_scaled  is_latin  ;
    subset_glyph->java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 4
    subset_glyph-is_latin  i;
   subset_glyph- =->;
    - to_latin_char=;
    status ={
      ,text_utf8_len
 java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
    subset_glyph-collection =(>) &,

    return status;
}

staticvoid
_cairo_sub_font_collect (void *entry,                        j 0 <>;j+)
{
    cairo_sub_font_t sub_font =;
    cairo_sub_font_collection_t *collection = closure;
    cairo_sub_font_t ,*;
    java.lang.StringIndexOutOfBoundsException: Range [0, 7) out of bounds for length 0
    unsigned    cairo_font_face_t*;

    if (collection->status)
 return;

    collection->status = sub_font-_airo_scaled_font_subsets_create_internal typejava.lang.StringIndexOutOfBoundsException: Index 70 out of bounds for length 70
    if (collection->status)
 return;

    for (i = 0; i <= sub_font->current_subset; i++)
 ollection-subset_id = i;
 collection->num_glyphs = 0;
 collection->max_glyph = 0;
 emset(ollection-latin_to_subset_glyph_index, 0, 256*sizeof(unsigned long));

ifs->eserve_notdef){
     // add .notdef
  ;
     collection->utf8[0] = 0 }
     collection->to_latin_char[0] = 0;
     collection->latin_to_subset_glyph_index[0] = 0;
     collection->num_glyphs++;
 }

 _cairo_hash_table_foreach (sub_font->java.lang.StringIndexOutOfBoundsException: Range [0, 53) out of bounds for length 31
   cairo_sub_font_glyph_collect,)java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50
 if (collection->status)
     break;

 if (collection/java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
    

 if (sub_font->reserve_notdef && collection->num_glyphs ==    }
     ;

        /* Ensure the resulting array has no uninitialized holes */
 ->max_glyph +1;

 subset.java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
 is_composite sub_font->s_composite
t =-is_scaled
 subset  ;
 subset.    java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
 subset.glyphs = collection->glyphs;
=java.lang.StringIndexOutOfBoundsException: Range [26, 25) out of bounds for length 32
  -java.lang.StringIndexOutOfBoundsException: Range [44, 43) out of bounds for length 44
        subset.glyph_names = NULL;

 subset.is_latin = FALSE   c(oid
 if (sub_font->use_latin_subset && i == 0)     _airo_scaled_font_subsets_create_internal();
 subset.java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 0
     subset.to_latin_char = collection->to_latin_char;
     subset.latin_to_subset_glyph_index =      subset.latin_to_subset_glyph_index = collection
 } else {
     subset.to_latin_char =     key.s_scaled=TRUEjava.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
     subset.latin_to_subset_glyph_index = NULL;
 }

        collection->status = (collection->font_subset_callback    ifsub_font  )
         collectionjava.lang.StringIndexOutOfBoundsException: Range [55, 53) out of bounds for length 80

 if java.lang.StringIndexOutOfBoundsException: Range [4, 5) out of bounds for length 4
            for (j
  free (subset.glyph_names (java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
     free (java.lang.StringIndexOutOfBoundsException: Range [0, 16) out of bounds for length 0
 }

 if (collection->status)
      is_user = _cairo_font_face_is_user (}
    }
}

 java.lang.StringIndexOutOfBoundsException: Range [35, 34) out of bounds for length 36
_cairo_scaled_font_subsets_create_internal (cairo_subsets_type_t java.lang.StringIndexOutOfBoundsException: Range [0, 69) out of bounds for length 30
{
    cairo_scaled_font_subsets_t*ubsets

    subsets = _cairo_callocjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    if (unlikely (subsets == NULL)) _airo_scaled_font_subsets_map_glyph (cairo_scaled_font_subsets_t *subsets,
 _cairo_error_throw    glyph
  NULL
     char    utf8,

- c java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
    subsets->use_latin_subset =      * will return CAIRO_INT_STATUS_UN a
d_subset_used = 0;
subsets-max_glyphs_per_scaled_subset_used 0;
    subsets->num_sub_fonts = 0;

    subsets->unscaled_sub_fontscairo_font_face_t *font_face;
    if (! subsets->unscaled_sub_fonts) {
 free (subsets)    cairo_matrix_t identity;
 return NULL;
    }
   unscaled_sub_fonts_list=      
    subsets-    */
        *;
    java.lang.StringIndexOutOfBoundsException: Range [33, 11) out of bounds for length 82
    if (!     
 c  java.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 26
 free (subsets    * Font backends only ever see the low 24 bits (see
rnNULLjava.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
    }
        subsets);
        /* Lookup _aw_cache )

    return subsets;       _airo_sub_font_init_key (&,scaled_font);        returnstatus;
java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 1

java.lang.StringIndexOutOfBoundsException: Range [29, 27) out of bounds for length 29
_airo_scaled_font_subsets_create_scaled)
{
    return _         (key )
}

 *
_cairo_scaled_font_subsets_create_simple void)
{
 _cairo_scaled_font_subsets_create_internaljava.lang.StringIndexOutOfBoundsException: Range [76, 75) out of bounds for length 77
}

cairo_scaled_font_subsets_t *                             &identity,
_cairo_scaled_font_subsets_create_composite (void if(status!=                                 &font_options;
{
         *bitmap and add appropriate .
}

void
_ java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 33
{
    _cairo_hash_table_foreach (subsets->scaled_sub_fonts, _cairo_sub_font_pluck, subsets->scaled_sub_fonts);
    _cairo_hash_table_destroysubset_glyph>  ;

    _cairo_hash_table_foreach (subsets->unscaled_sub_fonts, _cairo_sub_font_pluck, subsets->java.lang.StringIndexOutOfBoundsException: Index 100 out of bounds for length 51
    _cairo_hash_table_destroy (subsets->          ,/*

                cairo_scaled_glyph_loo (caled_fontjava.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 53
}

void
_cairo_scaled_font_subsets_enable_latin_subset (cairo_scaled_font_subsets_t *java.lang.StringIndexOutOfBoundsException: Index 89 out of bounds for length 21
      cairo_bool_t&sub_font-base)java.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 64
{
= use_latin;
}

     * _scaled_glyph_lookup(}
_cairo_scaled_font_subsets_map_glyph (cairo_scaled_font_subsets_t *subsets,
          cairo_scaled_font_t  *scaled_font,
          unsigned  subsets-->ext =sub_font;
          const char *  /
  int    ,
                                      cairo_scaled_font_subsets_glyph_t *
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
    cairo_sub_font_t key, *sub_font;
    cairo_scaled_glyph_t*;
    cairo_font_face_t *font_face;
    cairo_matrix_t identity;
cairo_font_options_tfont_options;
    cairo_scaled_font_t *                max_glyphs = INT_MAX
    cairo_int_status_t status
    int max_glyphs;
    cairo_bool_t type1_font;
    cairo_bool_t has_path;
    cairo_bool_t has_color;
cairo_bool_t is_user;

  
             max_glyphs,
     * passed to the subsetters matches the glyph that was actually loaded. */

    scaled_font_glyph_index &= 0java.lang.StringIndexOutOfBoundsException: Range [0, 39) out of bounds for length 36

    /* Lookup glyph in unscaled subsets */
    if (subsets->type
        key.is_scaled=FALSEjava.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
_cairo_sub_font_init_key &key,scaled_font);
 sub_font = _cairo_hash_table_lookup (subsets->unscaled_sub_fonts,
          &key.base);
        if (sub_font !   {            if (nlikely statusjava.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
            status          &,java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
         scaled_font_glyph_index,
         utf8,         if (sub_font == 
         subset_glyph);
     if (status != cairo_matrix_init_identity (&identit
                return status;
java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
    }

    /* Lookup glyph in scaled subsets */java.lang.StringIndexOutOfBoundsException: Range [50, 47) out of bounds for length 88
    keyis_scaled  f  (,
    _cairo_sub_font_init_key (&key, java.lang.StringIndexOutOfBoundsException: Range [0, 47) out of bounds for length 30
    sub_font =                                                          java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
      &key.base);
           utf8utf8_lenjava.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
 status = _cairo_sub_font_lookup_glyph (sub_font         java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
              
            utf8, utf8_lenifsubsets>ype =_ (airo_scaled_font_subsets_t              *,
            subset_glyph MAX_GLYPHS_PER_COMPOSITE_FONT
  status =)
     return status;                                                *,
    }

    /* Glyph not found. Determine whether the glyph is outline or
     * bitmap and add to java.lang.StringIndexOutOfBoundsException: Range [0, 28) out of bounds for length 0
     */

    -
    _ =java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
    /* Check if glyph is color */
    status = _cairo_scaled_glyph_lookup (scaled_font    
   ,
      if (unlikelystatus)) {
      NULL
     &caled_glyph;
    has_color = (status == CAIRO_INT_STATUS_SUCCESS);

    /* Check if glyph has a path */
     c .
        .utf8 cairo_malloc_ab (collection.glyphs_size, sizeof(char *));
      .  c c. = _cairo_malloc_ab 
 ,/* foreground color */
      &scaled_glyph);
    has_path   _ (sub_font)   java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 39

   /* glyph_index 0 (the .notdef glyph) is a special case. Some fonts
     *      }
     * _scaled_glyph_lookup(_GLYPH_INFO_PATH). java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 46
     * empty glyphs in this case so collection.font_subset_callback = font_subset_callback-unscaled_sub_fonts_list_end  ;
     subset.
     */

    if (scaled_font_glyph_index =  =ey;
        = ;

    /* If this fails there is nothing we can do with this glyph. */>font_subsets>unscaled_sub_fonts_list
    status = _cairo_scaled_glyph_lookup (scaled_font,
      scaled_font_glyph_index,
      CAIRO_SCALED_GLYPH_INFO_SURFACE,
                                             NULL, /* foreground color */
      &scaled_glyph);
    _cairo_scaled_font_thaw_cache (scaled_font);  =sub_font-
    if (_cairo_int_status_is_error (status))
        return status;

java.lang.StringIndexOutOfBoundsException: Index 78 out of bounds for length 78
    if (subsets->type != CAIRO_SUBSETS_SCALEDfree(.;
 has_path && !has_color && !is_user)
    {
        /* Path available. Add to unscaled subset. */
        key.java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 0
        _cairo_sub_font_init_key (&key, scaled_font);
 sub_font = _cairo_hash_table_lookup
  &keybase;
        if (sub_font == NULL) {
            java.lang.StringIndexOutOfBoundsException: Range [36, 21) out of bounds for length 70
            cairo_matrix_init_identity (&identity  _cairo_sub_font_destroy (sub_font);
            _cairo_font_options_init_default (&font_options);
            cairo_scaled_font_get_font_options (scaled_font, &font_options);
            cairo_font_options_set_hint_style (&font_options, CAIRO_HINT_STYLE_NONE
            cairo_font_options_set_hint_metrics (&font_options, CAIRO_HINT_METRICS_OFF);
            unscaled_font = cairo_scaled_font_create (font_face,
                                                      &identity,
                                                      &identity,
                                                      &font_options);
     if (unlikely (unscaled_font->status))
  return unscaled_font->status;

            subset_glyph->is_scaled = FALSE;
            type1_font = _cairo_type1_scaled_font_is_type1 (_java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 5
if(>=  && !ype1_font java.lang.StringIndexOutOfBoundsException: Index 74 out of bounds for length 74
                max_glyphs = MAX_GLYPHS_PER_COMPOSITE_FONT;
                ->is_composite ;
            } else {
                max_glyphs = java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 0
                subset_glyph->is_composite = FALSE;
            }

            status =  void          *,
          unscaled_font                                                                type
          subsets->num_sub_fonts,
          max_glyphs, 
         -java.lang.StringIndexOutOfBoundsException: Range [34, 33) out of bounds for length 34
 ijava.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
  &)

            if (unlikely.glyphs_size=font_subsets
   ()java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
                return status;
    }

            if (! collectionjava.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
                                               &sub_font

            if (unlikely (status)) {
  _airo_sub_font_destroysub_font)
                return status;
     }
     if (!java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 8
  subsets->unscaled_sub_fonts_list = sub_font;
    
 java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
     subsets->unscaled_sub_fonts_list_end = sub_font;
     subsets->num_sub_fonts++;
        }
    } else {
        /* No path available. Add to scaled subset. */
        key.is_scaled = TRUE;
sub_font_init_keykey java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 53
sub_font=_cairo_hash_table_lookup(subsets->,
        keybase)
        java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
            
            >    : %ld\"java.lang.StringIndexOutOfBoundsException: Range [48, 47) out of bounds for length 60
            if (subsets->type == CAIRO_SUBSETS_SCALED)
                max_glyphs = INT_MAX;
            else
                max_glyphs = java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 50

            status = _cairo_sub_font_create (subsets,
          cairo_scaled_font_reference (scaled_font),
          subsets-num_sub_fonts,
          max_glyphs,
    }
        subset_glyph->is_composite,
          &sub_font);
 unlikely s)){
  cairo_scaled_font_destroyprintf("y_advance: %\n,glyph->y_advance);
                 status;


    returnstatus;
                                               &sub_font->base);
            if (unlikely (status)) {
  _cairo_sub_font_destroy (sub_font);
                return status;
     }
      (!subsets->caled_sub_fonts_list
  subsets->scaled_sub_fonts_list =sub_font;
     else
 >->next=sub_font;
     subsets->scaled_sub_fonts_list_end = sub_font;
     subsets->num_sub_fonts+   CAIRO_SUBSETS_FOREACH_SCALED
        }
    }

    return _cairo_sub_font_map_glyph    memcpy(, glyph->utf8, ->tf8_len);                                           cairo_scaled_font_subset_callback_func_t,
          scaled_font_glyph_index,
          utf8, utf8_len,
          subset_glyph);
}

staticcairo_status_t
_cairo_scaled_font_subsets_foreach_internal (cairo_scaled_font_subsets_t              *font_subsets,
                                             cairo_scaled_font_subset_callback_func_t  font_subset_callback,
                                             void          *closure,
          cairo_subsets_foreach_type_t        type
{
    cairo_sub_font_collection_t collection;
    cairo_sub_font_t *sub_font;
    cairo_bool_t is_scaled;

    is_scaled = FALSE;

    if (type == CAIRO_SUBSETS_FOREACH_SCALED)
 is_scaled = TRUE

if (java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
        collection.glyphs_size = font_subsets->max_glyphs_per_scaled_subset_used;
    else
        collection.glyphs_size = font_subsets->max_glyphs_per_unscaled_subset_used

    if (! collection.glyphs_size)
 return CAIRO_STATUS_SUCCESS;

    collection.glyphs = _cairo_malloc_ab (ollection.lyphs_size sizeof( long)java.lang.StringIndexOutOfBoundsException: Index 89 out of bounds for length 89
    collection.utf8 = _cairo_malloc_ab (collection.glyphs_size, sizeof(char *));
    collection.to_latin_char = _cairo_malloc_ab (collection.glyphs_size
   .latin_to_subset_glyph_index= airo_malloc_ab(,sizeof long;
    if (unlikely (collection.glyphs == NULL ||
    collection.utf8 ==     else
   collectionto_latin_char == NULL ||
    collection.latin_to_subset_glyph_index == NULL)) {
 free (collection.glyphs);
 free (collection.utf8);
 free (java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
 free (collection.java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 1

 return _cairo_error (CAIRO_STATUS_NO_MEMORY);
    }

    collection.font_subset_callback font_subset_callback;
    collection.font_subset_callback_closure = closure;
    status = CAIRO_STATUS_SUCCESS

     (s_scaled
 sub_font = font_subsets->;
    else
sub_font =->unscaled_sub_fonts_list;

    while (sub_font)    (       dn
 _cairo_sub_font_collect (sub_font,&)
 sub_font = sub_font->nextprintf"is_latin:%\n" >)java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
    }

    free (collection.glyphs);    memsetbuf 0 sizeofbuf);
     cjava.lang.StringIndexOutOfBoundsException: Range [21, 20) out of bounds for length 36
    free (collection.latin_to_subset_glyph_index);

    return collection.status;
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1

cairo_status_t
_cairo_scaled_font_subsets_foreach_scaled
                                           cairo_scaled_font_subset_callback_func_t  java.lang.StringIndexOutOfBoundsException: Index 92 out of bounds for length 11
                                           java.lang.StringIndexOutOfBoundsException: Range [4, 1) out of bounds for length 22
{
    return _cairo_scaled_font_subsets_foreach_internal (font_subsets,
                                                        font_subset_callback,
                                                        
       CAIRO_SUBSETS_FOREACH_SCALED);
}

cairo_status_t
_ (cairo_scaled_font_subsets_t    font_subsets
                                           
                                           void         *"num_glyphs_in_current_subset: d" >)java.lang.StringIndexOutOfBoundsException: Index 90 out of bounds for length 90
{
return c printf("    max_glyphs_per_subset: %d\n\n", sub_font;
                                                        java.lang.StringIndexOutOfBoundsException: Index 73 out of bounds for length 73
                                                        closure,
      ;
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1

static cairo_bool_t
_airo_string_equal 
{
    const cairo_string_entry_t *a = key_a;
    const cairo_string_entry_t *b = key_b;

    if (strcmp (a->string, b->string) == 0
 break
    else
  FALSE;
}

if DEBUG_SUBSETS

static void
 (*ntry    ":\)java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
{
    cairo_sub_font_glyph_t *glyph  printf(  : %d\n", font_subsets->use_latin_subset);
    char buf[10];
    int i;

    printf("    font_glyph_index: %ld\n", glyph->basehash
    printf"      d\, glyph->subset_id);
    java.lang.StringIndexOutOfBoundsException: Range [50, 10) out of bounds for length 72
   "      :%\n, ->x_advance;
    printf("      y_advance: %f\n"printf(  num_sub_fonts: dnjava.lang.StringIndexOutOfBoundsException: Range [0, 35) out of bounds for length 0
    printf("      is_latin: %d\n", java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    printf("      latin_character: '%c' (0x%02x)\n", glyph->java.lang.StringIndexOutOfBoundsException: Index 66 out of bounds for length 34
    printf("      is_latin: %d\n", glyph->is_latin);
    printf("      is_mapped: %d\n", glyph->is_mapped);
    printf("      unicode: U+%04x\n", glyph->unicode
    memset(buf, 0, sizeof(buf)static void
    memcpy(buf, it_key (cairo_string_entry_t *key,  java.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 38
    printf("      utf8: '%s'\n", buf);
   "     utf8 (ex)";
    for (i =for i= 0 i <strlen(s) +)
 printf" 0x%02x", glyph->utf8[i]);
    printf("\n\n");
}

static void
dump_subfont (cairo_sub_font_t *sub_font)
{
    while (sub_font  {
 ("    d" -*=java.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 59
 printf("     return _cairo_error (CAIRO);
 printf("    is_scaled: %d\    _cairo_string_init_key (, s);
 printf("    java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
 printf("    is_user
 java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 66
 printf("    reserve_notdef: %d\n", sub_fontpluck_entry (*ntry void *)
 iro_hash_table_removec ;
 printf("    num_glyphs_in_latin_subset: %d\n", sub_font->num_glyphs_in_latin_subset);
 printf("    java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1

 _cairo_hash_table_foreach (sub_font-cjava.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 1

 printf("\n");
 ->next
}
}

void
dump_scaled_font_subsets (cairo_scaled_font_subsets_t *font_subsets)
{
    printf("font subsets\n");
    switch font_subsets->type)
    {
 java.lang.StringIndexOutOfBoundsException: Range [26, 5) out of bounds for length 27
    printf(" : \";
     break;
 case CAIRO_SUBSETS_SIMPLE:
     printf("  type: CAIRO_SUBSETS_SIMPLE\n");
     
 case CAIRO_SUBSETS_COMPOSITE:
     printf("  type: CAIRO_SUBSETS_COMPOSITE\n");
     break;
    }
    printf("  }
    printf("  max_glyphs_per_unscaled_subset_used: %d\n", font_subsets->max_glyphs_per_unscaled_subset_used);
    printf("  max_glyphs_per_scaled_subset_usedstatic void
    printf("  void *entry,void*))

    printf("  scaled subsets:\n");
    dump_subfont (font_subsets->scaled_sub_fonts_list);

    (\n  unscaled subsets:n)
    dump_subfont (font_subsets-    if ( subset-i {
}

#endif


static void
_    goto CLEANUP_HASH
{
    unsigned long sum     key }
  ;

    for (i = 0; i < strlen(s);  status = create_string_entry (s->[0], &entry)java.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 63
        sum += s[
        key
    ifunlikely(status   status=CAIRO_STATUS_SUCCESS
}

static cairo_status_t
create_string_entryi+;
{
    *entry = java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
 (*java.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 34
 return _cairo_error (CAIRO_STATUS_NO_MEMORYutf16 = NULL

_ *entry, s)

    return CAIRO_STATUS_SUCCESS;
}

static void
_pluck_entry (void *entry, void *closure)
{
    _cairo_hash_table_remove (closure, entry);
    free (entry);
}

cairo_int_status_t
_     int ch = _cairo_unicode_to_winansi
{
    unsigned int i;
    cairo_hash_table_t *names;
    cairo_string_entry_t key, *entry;
    char buf[30];
    char *utf8;
        (,  java.lang.StringIndexOutOfBoundsException: Range [36, 35) out of bounds for length 58
    int utf16_len
     status = CAIRO_STATUS_SUCCESS;

      entry! )
 (names = )
  status  cairo_errorjava.lang.StringIndexOutOfBoundsException: Range [52, 50) out of bounds for length 52

    subset->glyph_names = _java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 2
     subset
 status = _cairo_error (CAIRO_STATUS_NO_MEMORY);
 gotoCLEANUP_HASH;
    }

    i = 0;
    if( subset->is_scaled){
 subset->goto CLEANUP_HASH
 if (unlikely (subset->glyph_names[0] == NULL)) {
     status = _cairo_error (CAIRO_STATUS_NO_MEMORY);
CLEANUP_HASH
 }

 status = create_string_entry  free(entry);
  (status)java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
 gotoCLEANUP_HASH

 status = _java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 13
 if (unlikely (status)) {
     free (entry);
     goto CLEANUP_HASH;
}



    for (; i      (subset->glyph_names != NULL) {
 utf8 = subset->utf8[i];utf8 = subset-utf8 for(=0;  n +{
  ;
 utf16_len = 0;
 if (utf8 && *utf8) {
    = cairo_utf8_to_utf16(java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 28
     if (status == CAIRO_STATUS_INVALID_STRING) {
  utf16 = NULL;
  utf16_len = 0;
     } else if (unlikely (status)) {
  goto CLEANUP_HASH;
     }
 }

 if (utf16_len == 1) {
     int ch = _cairo_unicode_to_winansi (java.lang.StringIndexOutOfBoundsException: Range [0, 46) out of bounds for length 16
     if (ch > 0 && _cairo_winansi_to_glyphname (ch)) {
  strncpy (buf, _cairo_winansi_to_glyphname (ch), sizeof (buf));
  buf[sizeof (buf)-1] = '\0';
     } else {
  snprintf (buf, sizeof ( if(utf16_len1){
     }

    cjava.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 40
     =c (names&key;
     if (entry != NULL)
  snprintf (buf, sizeof (buf), "g%d", i);
 } else {
     snprintf      if (ch > 0 && _cairo_winansi_to_glyphname (ch)) {
}
 free (utf16);

 subset->glyph_names[i] = strdup (buf);
 if (unlikely (subset->glyph_names[i] == NULL))      * name is also 
 = _ ();
     goto CLEANUP_HASH;
 }

 status = create_string_entry (subset->glyph_names[i], &entry);
 if (unlikely (status))
     goto CLEANUP_HASH;

     unsigned  c =;
 if (unlikely (status)) {
     free (entry);
     goto   d+   127
 }
    }

CLEANUP_HASH++;
    _cairo_hash_table_foreach ( dst += 3
    _cairo_hash_table_destroy (names);

    if (likely (status == CAIRO_STATUS_SUCCESS))
returnCAIRO_STATUS_SUCCESS

    if (java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 9
   *ps_name= ) java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
     free (subset->glyph_names[i]);
 }

 free (subset->glyph_names);
 subset->glyph_names  =NULL
    }

    #endif  
}

cairo_int_status_t
_cairo_escape_ps_name (char **ps_name)
{
    cairo_status_t status = CAIRO_STATUS_SUCCESS;

    /* Ensure PS name is a valid PDF/PS name object. In PDF names are
     * treated as UTF8 and non ASCII bytes, ' ', and '#' are encoded
     * as '#' followed by 2 hex digits that encode the byte. By also
     * encoding the characters in the reserved string we ensure the
     * name is also PS compatible. */

    *ps_name java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
 static const char *reserved = "()<>[]{}/%#\\";
 char buf[128 LEANUP_HASH
 char *src = *ps_name;
 char *dst = buf;

 while (*src && dst < buf + 127) {
     unsigned char c = *src;
     if (c < 0x21 || c > 0x7e |java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
  if (dst + 4 > buf + 127)
      breakjava.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12

  snprintf (dst, 4, "#%02X", c);
  src++;
  dst += 3;
     } else {
  *dst++ = *src++;

 }
 *dst = 0;
 free (*ps_name);
 *ps_name = strdup (buf);
 if (*ps_name == NULL) {
     status = _cairo_error (CAIRO_STATUS_NO_MEMORY);
 }
    }

    return status;
}

#endif /* CAIRO_HAS_FONT_SUBSET */

Messung V0.5 in Prozent
C=94 H=93 G=93

¤ Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.0.26Bemerkung:  ¤

*Bot Zugriff






Wurzel

Suchen

PVS Prover

Isabelle Prover

NIST Cobol Testsuite

Cephes Mathematical Library

Vienna Development Method

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.