Expert input required for pixel aligned rendering of fonts.

2022-12-06 Thread Boppe, Balakrishna (D COE)
Hi,

I am reaching out to the text font rendering community seeking guidance and 
expert inputs on an issue which we are facing while rendering text using 
OpenGL. This is not specific to any freetype usage per se.

How do we need to ensure that the start 2d position of a text always falls at 
the pixel boundary ?  I use OpenGL to render the text!

Thanks,
Bala.


Expert input required for pixel aligned rendering of fonts.

2022-12-06 Thread Boppe, Balakrishna (D COE)
Hi,

I am reaching out to the text font rendering community seeking guidance and 
expert inputs on an issue which we are facing while rendering text using 
OpenGL. This is not specific to any freetype usage per se.

How do we need to ensure that the start 2d position of a text always falls at 
the pixel boundary ?  I use OpenGL to render the text!

Thanks,
Bala.


RE: [External] Re: Halo Glyphs generation query

2022-11-17 Thread Boppe, Balakrishna (D COE)
I am not able to access " 
https://www.deviantart.com/default-cube/art/Text-Effect-566875799;

I get this error!
403 ERROR
The request could not be satisfied.

Thanks,
Bala.
-Original Message-
From: freetype-bounces+balakrishna.boppe=honeywell@nongnu.org 
 On Behalf Of 
Lawrence D'Oliveiro
Sent: Friday, November 18, 2022 1:35 AM
To: freetype@nongnu.org
Subject: [External] Re: Halo Glyphs generation query

WARNING: This message has originated from an External Source. This may be a 
phishing email that can result in unauthorized access to Honeywell systems. 
Please use proper judgment and caution when opening attachments, clicking links 
or responding.

On Thu, 17 Nov 2022 15:27:45 +0000, Boppe, Balakrishna (D COE) wrote:

> Can someone please help or provide any guidance on how to get halo 
> effect around each glyph generated by Freetype .

Something like this
<https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.deviantart.com%2Fdefault-cube%2Fart%2FText-Effect-566875799data=05%7C01%7Cbalakrishna.boppe%40honeywell.com%7C1c65d5e9ecd04126a78f08dac8d858c7%7C96ece5269c7d48b08daf8b93c90a5d18%7C0%7C0%7C638043128797019106%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7Csdata=%2FHlKFJvIA64kyjW8HonD%2FjZ%2B7sw4uwgfSbLDZKTIiwk%3Dreserved=0>,
perhaps?




Halo Glyphs generation query

2022-11-17 Thread Boppe, Balakrishna (D COE)
Hi,

Can someone please help or provide any guidance on how to get halo effect 
around each glyph generated by Freetype . We use 2.9.1 Freetype version.

I see an example from the below Freetype website. Is this is the best way or 
are there any other simple, effective ways to generate halos ? Please guide.

https://github.com/genesi/freetype/blob/master/freetype/docs/tutorial/example2.cpp

Thanks,
Bala.



RE: [External] Re: Query on Generation of halo around glyphs.

2022-06-22 Thread Boppe, Balakrishna (D COE)
Thankyou for the reference.

I am looking for something where I can generate the halo at run time and not at 
the design time(offline).

-Original Message-
From: Freetype  On 
Behalf Of Lawrence D'Oliveiro
Sent: Thursday, June 23, 2022 9:33 AM
To: freetype@nongnu.org
Subject: [External] Re: Query on Generation of halo around glyphs.

WARNING: This message has originated from an External Source. This may be a 
phishing email that can result in unauthorized access to Honeywell systems. 
Please use proper judgment and caution when opening attachments, clicking links 
or responding.

On Thu, 23 Jun 2022 03:29:27 +, Boppe, Balakrishna (D COE) wrote:

> Using freetype APIs, any recommendation on how to generate halo, of a 
> given width, around each glyph, using Freetype APIs ?

Use Pixman, perhaps
<https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.deviantart.com%2Fdefault-cube%2Fart%2FConvolution-531929103data=05%7C01%7Cbalakrishna.boppe%40honeywell.com%7Cd9aceea1ba7c4690738e08da54cd444c%7C96ece5269c7d48b08daf8b93c90a5d18%7C0%7C0%7C637915537842847225%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7Csdata=bc97Zrup7MgI7Y2zFY2meMfadDrq5OSt37lkz3tyu8A%3Dreserved=0>.




Query on Generation of halo around glyphs.

2022-06-22 Thread Boppe, Balakrishna (D COE)
Hi,

Using freetype APIs, any recommendation on how to generate halo, of a given 
width, around each glyph, using Freetype APIs ?

As of now, I see this 
https://www.freetype.org/freetype2/docs/tutorial/example2.cpp. 

Any other options ?

Thankyou for any help!

Thanks,
Bala.





RE: [External] Re: Kerning information related query.

2022-06-14 Thread Boppe, Balakrishna (D COE)
Thankyou for your response. 

For some reason, the link provided below is not opening for me. Could you 
please send me the source file(s)? present in the Github which I can refer to 
understand the kerning usage ?

My use case is: Using freetype API, get the kerning information and then use 
this info. to render text using Opengl Api and texture atlas.

Thanks,
Bala.

-Original Message-
From: Freetype  On 
Behalf Of Lawrence D'Oliveiro
Sent: Wednesday, June 15, 2022 2:14 AM
To: freetype@nongnu.org
Subject: [External] Re: Kerning information related query.

WARNING: This message has originated from an External Source. This may be a 
phishing email that can result in unauthorized access to Honeywell systems. 
Please use proper judgment and caution when opening attachments, clicking links 
or responding.

On Tue, 14 Jun 2022 13:10:50 +, Boppe, Balakrishna (D COE) wrote:

> I would like to use the kerning information(offline) to perform the 
> rendering of text(run time)

HarfBuzz 
<https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.freedesktop.org%2Fwiki%2FSoftware%2FHarfBuzz%2Fdata=05%7C01%7Cbalakrishna.boppe%40honeywell.com%7Cf11ecd41ff1441d1bc1608da4e46ae49%7C96ece5269c7d48b08daf8b93c90a5d18%7C0%7C0%7C637908362745691658%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7Csdata=P3AzSeQB8fNB077KCBXfpUNleeUm6xIrUIl0X0hGyFQ%3Dreserved=0>
 does all this for you, and more.




Kerning information related query.

2022-06-14 Thread Boppe, Balakrishna (D COE)
Hi ,

I would like to use the kerning information(offline) to perform the rendering 
of text(run time)

My use case is as follows:

-   Retrieve the kerning information for a given true type font and store 
it in some file. [ offline ]
-   Use the kerning information to perform the text rendering, using OpenGL 
API. [ run time ]

Does anybody has sample code to refer for the above use case?

Thankyou for any help!

Thanks,
Balakrishna.




RE: [External] Aw: Re: Re: Re: Re: Native TTF name sometimes contains crap

2021-10-25 Thread Boppe, Balakrishna (D COE)
Hi,

We want to create fonts using  pixelsize of the order of 14, which would 
eventually be displayed on DPI 114 display device. However, the fonts are not 
looking smoother at this pixel size.

Any special settings that we need enable make the fonts smoother ? Like 
sub-pixel rendering enable OR HINTING or anything.

Please provide the guidance!

Thanks,
Bala.

-Original Message-
From: Freetype  On 
Behalf Of virtual_wor...@gmx.de
Sent: Monday, September 6, 2021 10:44 AM
To: Werner LEMBERG 
Cc: freetype@nongnu.org
Subject: [External] Aw: Re: Re: Re: Re: Native TTF name sometimes contains crap

CAUTION: This email originated from outside of the organization. Do not click 
links or open attachments unless you recognize the sender and know the content 
is safe.

Please find the ftdump output and the related font attached.

Mike



> Gesendet: Sonntag, 05. September 2021 um 04:26 Uhr
> Von: "Werner LEMBERG" 
> An: virtual_wor...@gmx.de
> Cc: freetype@nongnu.org
> Betreff: Re: Aw: Re: Re: Re: Native TTF name sometimes contains crap
>
> > Yes, for sure, hex values are more accurate. > > So ftdump returns 
> > "\U+009E\U+004F" which is the correct name, so > ftdump is doing something 
> > I do not know about. > > When I call the get-name-function as shown, the 
> > returned value is > 0x7e 0xd1 0x4f 0x53 I guess it's rather 0xb8 0xd1 0x4f 
> > 0x53 right? > So when it is a Mojibake-problem - is ftdump workarounding 
> > this? If > yes: how? Please send me the problematic font off-list. It's too 
> > hard otherwise to analyze the issue. Werner


RE: [External] Aw: Re: Re: Re: Re: Native TTF name sometimes contains crap

2021-10-25 Thread Boppe, Balakrishna (D COE)
Input is a TTF file

-Original Message-
From: Boppe, Balakrishna (D COE) 
Sent: Monday, October 25, 2021 1:02 PM
To: Werner LEMBERG ; freetype@nongnu.org
Subject: RE: [External] Aw: Re: Re: Re: Re: Native TTF name sometimes contains 
crap

Hi,

We want to create fonts using  pixelsize of the order of 14, which would 
eventually be displayed on DPI 114 display device. However, the fonts are not 
looking smoother at this pixel size.

Any special settings that we need enable make the fonts smoother ? Like 
sub-pixel rendering enable OR HINTING or anything.

Please provide the guidance!

Thanks,
Bala.

-Original Message-
From: Freetype  On 
Behalf Of virtual_wor...@gmx.de
Sent: Monday, September 6, 2021 10:44 AM
To: Werner LEMBERG 
Cc: freetype@nongnu.org
Subject: [External] Aw: Re: Re: Re: Re: Native TTF name sometimes contains crap

CAUTION: This email originated from outside of the organization. Do not click 
links or open attachments unless you recognize the sender and know the content 
is safe.

Please find the ftdump output and the related font attached.

Mike



> Gesendet: Sonntag, 05. September 2021 um 04:26 Uhr
> Von: "Werner LEMBERG" 
> An: virtual_wor...@gmx.de
> Cc: freetype@nongnu.org
> Betreff: Re: Aw: Re: Re: Re: Native TTF name sometimes contains crap
>
> > Yes, for sure, hex values are more accurate. > > So ftdump returns 
> > "\U+009E\U+004F" which is the correct name, so > ftdump is doing something 
> > I do not know about. > > When I call the get-name-function as shown, the 
> > returned value is > 0x7e 0xd1 0x4f 0x53 I guess it's rather 0xb8 0xd1 0x4f 
> > 0x53 right? > So when it is a Mojibake-problem - is ftdump workarounding 
> > this? If > yes: how? Please send me the problematic font off-list. It's too 
> > hard otherwise to analyze the issue. Werner


[ft] Question on https://www.freetype.org/freetype2/docs/tutorial/example2.cpp

2019-10-16 Thread Boppe, Balakrishna (D COE)
The code in  https://www.freetype.org/freetype2/docs/tutorial/example2.cpp 
demonstrates the generation of colored outlines.

The code generates RGBA per pixel, ie 4 bytes per pixel.

For my project, I need to generate  only 2 bytes per pixel. Ie., 
Luminance-alpha format.

Can somebody please help me to know how to do this?

Thanks,
Bala.


From: Boppe, Balakrishna (D COE)
Sent: Wednesday, October 16, 2019 10:09 PM
To: freetype@nongnu.org
Subject: subscribe - request

Hi,

I have a question in the example code present in 
https://www.freetype.org/freetype2/docs/tutorial/example2.cpp

Thanks,
Bala.
___
Freetype mailing list
Freetype@nongnu.org
https://lists.nongnu.org/mailman/listinfo/freetype