[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ft] a confusing problem when usingFT_Library_SetLcdFilterWeights();
From: |
suzuki toshiya |
Subject: |
Re: [ft] a confusing problem when usingFT_Library_SetLcdFilterWeights(); |
Date: |
Wed, 2 May 2018 20:16:53 +0900 |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:56.0) Gecko/20100101 Thunderbird/56.0a1 |
All screenshots are too small to figure what the demo is...
Any of them is ftview result?
On 5/2/2018 6:38 PM, 哈尔滨工程大学 朱国梁 wrote:
> 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"<address@hidden>
> Date: Sun, Apr 29, 2018 14:17 PM
> To: "r030t1"<address@hidden>;
> Cc: "freetype"<address@hidden>;"790687208"<address@hidden>;
> 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
>