Ignore:
Timestamp:
Oct 14, 2009, 2:32:13 AM (16 years ago)
Author:
Dmitry A. Kuminov
Message:

gui: Changed to using the Freetype2 library for populating the fonts. Implemented font matching against populated fonts.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/gui/text/qfontengine_pm.cpp

    r219 r222  
    5858    : QFontEngineFT(fd)
    5959{
    60     QFontEngine::FaceId face_id;
    61     // @todo temporary:
    62     ULONG bootDrive = 0;
    63     DosQuerySysInfo(QSV_BOOT_DRIVE, QSV_BOOT_DRIVE, (PVOID)&bootDrive,
    64                     sizeof(bootDrive));
    65     QByteArray font(1, bootDrive + 'A' - 1);
    66     font += ":\\PSFONTS\\HELV.PFB";
    67 
    68     face_id.filename = font;
    69     face_id.index = 0;
    70 
    71     init(face_id, true /*antialias*/);
    7260}
    7361
Note: See TracChangeset for help on using the changeset viewer.