Changeset 4033 in Sophya


Ignore:
Timestamp:
Nov 10, 2011, 11:48:05 PM (13 years ago)
Author:
ansari
Message:

Ajout impression de debug pour erreurs de chargement de fontes ds pifontx.cc, impressions desactivees (commentees), Reza 10/11/2011

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaPI/PI/pifontx.cc

    r3572 r4033  
    317317  if (count > 0) {
    318318    for (int kkk=0; kkk<count; kkk++) {
     319      /*  pour debug
     320      printf("PIFontX::LoadFontSt/DBG - Call to XLoadFont(%s) \n", list[kkk]);
     321      Font lfid=XLoadFont(mdsp,list[kkk]);
     322      printf("PIFontX::LoadFontSt/DBG - Call to XQueryFont(FID=%ld) \n", (unsigned long)lfid);
     323      fntst[isz][jat][kfn] = XQueryFont(mdsp, lfid);   
     324      printf("PIFontX::LoadFontSt/DBG - Call to XLoadQueryFont(%s) \n", list[kkk]);
     325      */
    319326      fntst[isz][jat][kfn] = XLoadQueryFont(mdsp, list[kkk]);
    320327      if (fntst[isz][jat][kfn] != NULL) break;
     
    353360XtGetApplicationResources(PIXtTopWdg(), &apd, resources,
    354361                          XtNumber(resources), NULL, 0);
     362// printf("PIFontX::GlInit()-DBG- FontFamily = %s \n",apd.fntFam[0]);
     363
    355364sprintf(buff,"-%s-*-*-*-*-*-*-*-*-*-*-*-*", apd.fntFam[0]);
    356365list = NULL;
     
    418427// HugeFontIndex = NMAXFONTSZ-1;
    419428
    420 // printf("PIFontX::Init()-DBG- FontIndex= %d %d %d (SzF=%d) \n",
    421 //       SmallFontIndex, NormalFontIndex, BigFontIndex, szf);
     429// printf("PIFontX::GlInit()-DBG- FontIndex= %d %d %d (SzF=%d) \n",
     430//       SmallFontIndex, NormalFontIndex, HugeFontIndex, szf);
    422431
    423432return;
Note: See TracChangeset for help on using the changeset viewer.