Dear Werner, I get real screen snapshots now and I will restate my problem. Firstly, pictire1 is the result of a small demo.In the demo I use the LCD filter like this. FT_Library_SetLcdFilter(library, FT_LCD_FILTER_LIGHT); unsignerd char weight = 0x55; FT_Library_SetLcdFilterWeights(library, &weight); The picture2 is the result that I add the text codes in the small demo to our spectrum analyzer project program.it seems not working correctly. It is more darker than picture1. The picture3 is the result that I set the weight = 0x00.The text dispeared. But when I set backgroud to other colors, I can see the very dark font.So I think it is just more darker than weight = 0x55. The picture4 is the result that I remove the sentence FT_Library_SetLcdFilterWeights(library, weight).I can get white font. Sincerely, Zhu GuoLiang
---Original--- From: "Werner LEMBERG"<w...@gnu.org> Date: Sun, Apr 29, 2018 14:17 PM To: "r030t1"<r03...@gmail.com>; Cc: "freetype"<freetype@nongnu.org>;"790687208"<790687...@qq.com>; Subject: Re: [ft] a confusing problem when usingFT_Library_SetLcdFilterWeights(); >> Unfortunately, such hand-held camera snapshots are not very helpful >> in analyzing your problem. Can't you simply press the `PrtScr' >> button to get real screen snapshots that you can further process to >> get PNG images? > > He mentioned the problem manifests on a spectrum analyzer. He may > not have a good way to obtain a screenshot. I suggest he get one. Ah, ok. >> I also suggest that you play around with the `ftview' demo program >> (which allows full control over LCD weights), also checking its >> source code. > > Some antialiasing options seem to thin the glyphs, making them > faint. I think this is what the OP does not like. Can you comment > on this? It depends on the the right gamma value. Maybe he is able to make `ftview' run on WindowsCE (theoretically, it should work). Werner
0502_1.BMP
Description: Binary data
0502_2.BMP
Description: Binary data
0502_3.BMP
Description: Binary data
0502_4.BMP
Description: Binary data
_______________________________________________ Freetype mailing list Freetype@nongnu.org https://lists.nongnu.org/mailman/listinfo/freetype