All,
I am creating a memory device context and a bitmap using the following code:
CBitmap bitmap;
CBitmap* pOldBitmap;
CDC dcMemory;
dcMemory.CreateCompatibleDC(Givendc);
bitmap.CreateCompatibleBitmap(Givendc, nWidth, nHeight);
pOldBitmap = dcMemory.SelectObject(&bitmap);
Everything works great. I create the bitmap, draw my object on it and print it. However, the fonts look differnt in adobe pdf versus the edoc printer. How do I make sure the fonts stay the same? How do I create a compatible DC that is driver independent? I thought CreateCompatibleDC was suppose to do that. Can someone help?