none
CID font support in printDriver RRS feed

  • Question

  • i am using WDK 10 for creating  Virtual Print driver that will print any document and save it in text file . it works perfectly , except  when  a PDF file has any text with CID font than this text is appear as image and DrvTextOut function is not called. instead of DrvTextOut , DrvBitBlt function get invoked by GDI32full.dll .


    i have set the folloing flags for GDI gdiinfo.flTextCaps in function DrvEnablePDEV .


        gdiinfo.flTextCaps =
            TC_OP_CHARACTER     // Can do OutputPrecision   CHARACTER
          | TC_OP_STROKE        // Can do OutputPrecision   STROKE
          | TC_CP_STROKE        // Can do ClipPrecision     STROKE
          | TC_CR_ANY           // Can do CharRotAbility    ANY
          | TC_SF_X_YINDEP      // Can do ScaleFreedom      X_YINDEPENDENT
          | TC_SA_DOUBLE        // Can do ScaleAbility      DOUBLE
          | TC_SA_INTEGER       // Can do ScaleAbility      INTEGER
          | TC_SA_CONTIN        // Can do ScaleAbility      CONTINUOUS
          | TC_UA_ABLE          // Can do UnderlineAbility  ABLE
          | TC_SO_ABLE;         // Can do StrikeOutAbility  ABLE
    • Edited by jalil123 Monday, April 2, 2018 1:16 PM
    Monday, April 2, 2018 11:35 AM