[Seaside] Re: FontAwesome update?
Mariano Martinez Peck
marianopeck at gmail.com
Mon Aug 8 18:52:21 UTC 2016
On Mon, Aug 8, 2016 at 3:45 PM, Mariano Martinez Peck <marianopeck at gmail.com
> On Mon, Aug 8, 2016 at 2:57 PM, Torsten Bergmann <astares at gmx.de> wrote:
>> Dear Mariano,
>> answer is simple: there is no (magic) script. So far the changes
>> between the versions were not much
>> and it was easy to update and provide them.
>> What I usually did:
>> - create a separate new metadata file library and import the updated
>> new lib from a directory into Seaside
>> so that the methods for the CSS and fonts are created
>> - the move the methods to the appropriate FontAwesome class (either
>> developmont or deployment class
>> or the superclass if shared)
>> - add the necessary extension methods - each one with a test case
>> May sound like boring work to create a method for each new possibility of
>> FontAwesome (and yes it is) -
>> but it helped me to go through all the features understand what can be
>> done with the framework.
>> Sorry if you thought there is magic involved...
> Hi Torsten,
> Thanks for your answer.
> I understand now. Sorry, I thought you had as script for that.
> Now...let's say I can live with hardcoding the css class of each icon..say:
> html span
> with: [ html span class: 'fa-header' ].
> Then...all I would have to do is to update #cssfontawesomeCssContent to
> the latest CSS File and I should be ready to go, correct?
mmm I may also need to update the fonts methods such as
#fontsfontawesomewebfontEotContent in case they changed with latest
Do you recall how to generated those methods? Because we must create the
ByteArray thingy out of those svg, ttf, file
> Thanks in advance!
>> *Gesendet:* Montag, 08. August 2016 um 18:58 Uhr
>> *Von:* "Mariano Martinez Peck" <marianopeck at gmail.com>
>> *An:* "Seaside - general discussion" <seaside at lists.squeakfoundation.org>
>> *Cc:* "Torsten Bergmann" <astares at gmx.de>
>> *Betreff:* FontAwesome update?
>> Hi Torsten,
>> We are using your great FontAwesome project since several months so far.
>> Really nice! Thank you.
>> Now, let me ask, is there a way to easily update it to 4.4? I guess you
>> did not create all the extension methods by hand, so if it was a script
>> maybe it is not that hard to update. Not only I would like to use new
>> icons, but also some of the facilities like "Rotated & Flipped" that you
>> can read in http://fontawesome.io/examples/.
>> Finally.... if you can also provide that "magic" script to update, that
>> would be terrific, so that we can easily update again for newer versions.
>> Thank you very much in advance,
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the seaside