Changeset 320 in Sophya for trunk/SophyaPI


Ignore:
Timestamp:
Jun 16, 1999, 6:22:11 PM (26 years ago)
Author:
ercodmgr
Message:

Suite introduction PIFont - Reza 16/6/99

Location:
trunk/SophyaPI/PI
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaPI/PI/pi.rsc

    r9 r320  
    2020PeidaInt*DefMenubar*XtNheight:          30
    2121
    22 PeidaInt*fontList:           -*-helvetica-bold-r-normal-*-12-*-*-*-*-*-ISO8859-1
    23 PeidaInt*default*fontList:    -*-helvetica-bold-r-normal-*-12-*-*-*-*-*-ISO8859-1
     22PeidaInt*fontList:           -*-helvetica-bold-r-normal-*-14-*-*-*-*-*-ISO8859-1
     23PeidaInt*default*fontList:    -*-helvetica-bold-r-normal-*-14-*-*-*-*-*-ISO8859-1
    2424
    2525# Attention, ne pas mettre de blanc a la fin du nom de fonte
    26 PeidaInt*fontFamilyName:   *-helvetica
     26PeidaInt*fontFamilyName:   *-courier
    2727
    2828PeidaInt*XmToggleButton*selectColor:                  Red
  • trunk/SophyaPI/PI/picons.cc

    r292 r320  
    171171mWGrC->SelFont(sz);
    172172mFTaille = sz;
    173 mFHaut = mWGrC->GetFontHeight(asc, desc);
     173mFHaut = mWGrC->GetFont().GetFontHeight(asc, desc);
    174174mFLarg = (int)mWGrC->CalcStringWidth("ABCDEFGHIJ")/10;
    175175mWSzL = YSize()/mFHaut - 1;
  • trunk/SophyaPI/PI/pifontx.cc

    r317 r320  
    107107XTextExtents(mFSt, a, 0, &hd, &fa, &fd, &ovr);
    108108asc = fa; desc = fd;
    109 return(fa+fd-1);
     109return(fa+fd);
    110110}
    111111
     
    349349HugeFontIndex = NMAXFONTSZ-1;
    350350
    351 // printf("PIFontX::Init()-DBG- FontIndex= %d %d %d (%d) \n",
     351// printf("PIFontX::Init()-DBG- FontIndex= %d %d %d (SzF=%d) \n",
    352352//       SmallFontIndex, NormalFontIndex, BigFontIndex, szf);
    353353
  • trunk/SophyaPI/PI/piwdgx.cc

    r316 r320  
    628628XtGetApplicationResources(top, &fntname, res, XtNumber(res), NULL, 0);
    629629// scr = XDefaultScreen(dpy);
     630// printf("-DBG-F= %s \n", fntname);
    630631int count;
    631632char **list;
Note: See TracChangeset for help on using the changeset viewer.