[Sugar-devel] [GSOC] Font Editor Next Steps
Yash Agarwal
agrwal.ysh94 at gmail.com
Mon May 23 18:52:45 EDT 2016
Hi,
What did I do Today?
1. I figured out to how to make to render the glyphs from a ufov3 format
using Cairo(check out the results here
<https://sugarlabs.github.io/edit-fonts-activity/fill-rules>)
2. I made a detailed list of the features I need to implement and the
tasks I need to complete to implement them (find it here
<https://sugarlabs.github.io/edit-fonts-activity/detailed-feature-list>)
What am I gonna do tomorrow?
1. The Glyph renderer doesn't take in all the cases(different type of
segments) that can be encountered in a glyph so tomorrow I'm gonna include
functionality like 'qcurve', 'curve' with varying number of off-curve
points before it
2. I'll also make a basic Character map using Gtk.grid
3. I make a blog post of the questions I asked last time with the
answers I got together with the new ones
Questions?
1. [SUGAR-DEVEL] if we are going to make collections of fonts and
marking some fonts as favorites where should these setting be saved?
2. Dave, Eli could you guys make a UI mock for the character map, so
that I can build it tomorrow
3. [Regarding defcon] I am having a some trouble understanding the
concept behind the representation factories and notifications, how should I
implement these in the glyphRenderer Class?
4. whats the difference between an Anchor and Point in an UFO file?
Cheers!
Yash Agarwal
Student | Developer to be ;)
On Tue, May 24, 2016 at 2:14 AM Dave Crossland <dave at lab6.com> wrote:
> Hi!
>
> On 22 May 2016 at 18:54, Dave Crossland <dave at lab6.com> wrote:
>
>> [MAKING A GLYPH EDITING INTERFACE]
>>>>> **A drawing area where we can edit the Glyphs within a font like this
>>>>> <https://raw.githubusercontent.com/sugarlabs/edit-fonts-activity/gh-pages/files/img/4.png>
>>>>> **
>>>>>
>>>>> 1. Should the Glyphs be rendered in this using Cairo?
>>>>>
>>>>>
>>>> Yes.
>>>>
>>>>
>>>>>
>>>>> 1. if yes then should I write my own method for this or is there
>>>>> something inbuilt in Cairo or a 3rd party lib for reading ufo3's
>>>>> .glif files?
>>>>>
>>>>> defcon reads the UFO (and thus its GLIF files) and loads their bezier
>>>> outlines as python objects, so you can use pycairo to render them.
>>>>
>>>
>>> Oh, I said reading, I meant for rendering them.
>>> defon only gives the data as objects which can contain multiple
>>> components/countours and writng methods/classes for that will be a bit
>>> complex
>>>
>> I think this will be a major part of my GSoC. ;)
>>>
>>
>> I'm optimistic that you can crack it within a week, since you have
>> defconQt (and the ufoJS glifrendered.html) as a reference that you can port
>> :)
>>
>
> Indeed, Yash seems to have got the basics working already :)
>
> https://sugarlabs.github.io/edit-fonts-activity/fill-rules
>
> We skipped the IRC meeting as Eli and Yash and I chatted on Google
> Hangouts.
>
> Yash, please do make a daily blog post with the 3 things :)
>
> --
> Cheers
> Dave
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20160523/18717cf0/attachment.html>
More information about the Sugar-devel
mailing list