freetype
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ft] Unable to add glyph to unassigned unicode value


From: Ferdinand Ramirez
Subject: Re: [ft] Unable to add glyph to unassigned unicode value
Date: Sat, 13 Aug 2011 06:13:11 -0700 (PDT)

I think I did something wrong in fontforge because I am new to using fontforge.

The font is correct because I downloaded it (denemo.ttf) and it works except 
for E3C6 which I tried to add. Do you know the steps to add a new glyph in the 
unused unicode range and make it display in gtk?

Thanks,
-Ferdinand

--- On Fri, 8/12/11, suzuki toshiya <address@hidden> wrote:

> From: suzuki toshiya <address@hidden>
> Subject: Re: [ft] Unable to add glyph to unassigned unicode value
> To: "Ferdinand Ramirez" <address@hidden>
> Cc: address@hidden
> Date: Friday, August 12, 2011, 7:07 PM
> Excuse me, do you think as you did
> anything wrong in
> fontforge and ask for the solution, or, do you think
> your font is correct but freetype show some bad behaviour?
> If latter, please upload your font somewhere and post
> the URL...
> 
> Regards,
> mpsuzuki
> 
> Ferdinand Ramirez wrote:
> > I have problems displaying a glyph that I added to an
> existing font. Here areĀ  the steps I followed.
> > 
> > - I downloaded a font and used gtk markup language in
> my source code to load the font and display the value for
> 'J' on a gtk label and it worked fine.
> > 
> > - To make sure that I made no errors, I loaded this
> font in fontforge, double clicked on the glyph image for 'J'
> to open the glyph in edit mode, did a Select All and copied
> the glyph. I then edited the glyph for U+E3C6 and pasted the
> glyph and saved it.
> > 
> > - I then ran my program and did an sprintf of "\uE3C6"
> into a buffer and tried to display this buffer on the gtk
> label using the gtk markup language (this is how I displayed
> for 'J' as well). This time, instead of displaying the
> glyph, it just displayed the letters E3 on the top row and
> the letters C6 on the bottom row with a small square border
> around the letters.
> > 
> > What steps am I missing? I am new to fontforge and any
> help will be appreciated. My aim should be pretty simple for
> people here - I want to use an unused unicode value and
> display my glyph from my program. Ideally, I will want to
> display it on gtk widgets using gtk markup language after
> loading the font at runtime, but if you have answers for
> other means of displaying such glyphs, I am eager to know
> those as well.
> > 
> > I should add that I did get an error when I did a
> generate font which said that I'm saving the font in a
> 1-byte encoding format and will not be able to see more than
> 256 values. I am not sure how to overcome this error in case
> this was the reason for my inability to display my font.
> > 
> > Thanks,
> > -Ferdinand
> > 
> > _______________________________________________
> > Freetype mailing list
> > address@hidden
> > https://lists.nongnu.org/mailman/listinfo/freetype
> 
>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]