Re: FontAwesome update?
Mariano Martinez Peck <[email protected]>
| Newsgroups | gmane.comp.lang.smalltalk.squeak.seaside |
|---|---|
| Message-ID | <CAA+-=mWoPRB=KREoNc0P_Mv3j8ezv97O92adu0BevwtSdTgSFA@mail.gmail.com> |
On Mon, Aug 8, 2016 at 3:45 PM, Mariano Martinez Peck <[email protected] > wrote: > > > On Mon, Aug 8, 2016 at 2:57 PM, Torsten Bergmann <[email protected]> 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 > fontAwesome; > fontAwesome2x; > 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 release... Do you recall how to generated those methods? Because we must create the ByteArray thingy out of those svg, ttf, file Thanks! > Thanks in advance! > > > >> Thanks >> Torsten >> >> *Gesendet:* Montag, 08. August 2016 um 18:58 Uhr >> *Von:* "Mariano Martinez Peck" <[email protected]> >> *An:* "Seaside - general discussion" <[email protected]> >> *Cc:* "Torsten Bergmann" <[email protected]> >> *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, >> >> -- >> Mariano >> http://marianopeck.wordpress.com >> > > > > -- > Mariano > http://marianopeck.wordpress.com > -- Mariano http://marianopeck.wordpress.com _______________________________________________ seaside mailing list [email protected] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside