freetype-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Git][freetype/freetype-demos][master] * src/ftlint.c (main): Decorate o


From: Alexei Podtelezhnikov (@apodtele)
Subject: [Git][freetype/freetype-demos][master] * src/ftlint.c (main): Decorate opening and sizing errors.
Date: Thu, 05 Jan 2023 17:00:49 +0000

Alexei Podtelezhnikov pushed to branch master at FreeType / FreeType Demo Programs

Commits:

  • 9277a183
    by Alexei Podtelezhnikov at 2023-01-05T17:00:47+00:00
    * src/ftlint.c (main): Decorate opening and sizing errors.

1 changed file:

Changes:

  • src/ftlint.c
    ... ... @@ -248,17 +248,17 @@
    248 248
           error = FT_New_Face( library, fname, face_index, &face );
    
    249 249
           if ( error )
    
    250 250
           {
    
    251
    -        Error( "  " );
    
    251
    +        Error( "  opening " );
    
    252 252
             continue;
    
    253 253
           }
    
    254 254
     
    
    255
    -      printf( quiet ? "  %s %s:" : "  %s %s\n\n",
    
    255
    +      printf( quiet ? "  %s %s:" : "  %s %s\n",
    
    256 256
                   face->family_name, face->style_name );
    
    257 257
     
    
    258 258
           error = FT_Set_Char_Size( face, ptsize << 6, ptsize << 6, 72, 72 );
    
    259 259
           if ( error )
    
    260 260
           {
    
    261
    -        Error( "  " );
    
    261
    +        Error( "  sizing " );
    
    262 262
             goto Finalize;
    
    263 263
           }
    
    264 264
     
    
    ... ... @@ -272,9 +272,9 @@
    272 272
     
    
    273 273
           if ( !quiet )
    
    274 274
           {
    
    275
    -        /*      "NNNNN AAAxBBBB X.XXXX Y.YYYY MMDD55MMDD55MMDD55MMDD55MMDD55MM" */
    
    276
    -        printf( " GID  imgsize  Xacut  Yacut  MD5 hashsum\n" );
    
    277
    -        printf( "-------------------------------------------------------------\n" );
    
    275
    +        /*        "NNNNN AAAxBBBB X.XXXX Y.YYYY MMDD55MMDD55MMDD55MMDD55MMDD55MM" */
    
    276
    +        printf( "\n GID  imgsize  Xacut  Yacut  MD5 hashsum" );
    
    277
    +        printf( "\n-------------------------------------------------------------\n" );
    
    278 278
           }
    
    279 279
     
    
    280 280
           Fail = 0;
    


  • reply via email to

    [Prev in Thread] Current Thread [Next in Thread]