Issue 5479 in pharo: LanguageEnvironment depends on Network

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Issue 5479 in pharo: LanguageEnvironment depends on Network

pharo
Status: Accepted
Owner: [hidden email]
Labels: Type-Cleanup

New issue 5479 by [hidden email]: LanguageEnvironment depends on  
Network
http://code.google.com/p/pharo/issues/detail?id=5479

LanguageEnvironment>>fontDownload
        "(Locale isoLanguage: 'ja') languageEnvironment fontDownload"
       
        (FileDirectory default fileExists: self fontFullName)
                ifTrue: [^ self].
        Cursor read
                showWhile: [self fontDownloadUrls
                                do: [:each | [ | contents f |contents := (each , '/' , self  
fontFileName) asUrl retrieveContents contents.
                                        (contents first: 2)
                                                        = 'PK'
                                                ifTrue: [f := FileStream newFileNamed: self fontFullName.
                                                        f binary.
                                                        [f nextPutAll: contents]
                                                                ensure: [f close].
                                                        ^ self]]
                                                on: NameLookupFailure
                                                do: [:e | e]]].
        self error: 'Fonts does not found (' , self fontFullName , ')'


_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker
Reply | Threaded
Open this post in threaded view
|

Re: Issue 5479 in pharo: LanguageEnvironment depends on Network

pharo

Comment #1 on issue 5479 by [hidden email]: LanguageEnvironment  
depends on Network
http://code.google.com/p/pharo/issues/detail?id=5479

Hmm, I tried (Locale isoLanguage: 'ja') languageEnvironment installFont.  
And it hanged :/

Maybe Font download stuff can be moved to another package like  
Multilingual-Fonts or so...


_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker
Reply | Threaded
Open this post in threaded view
|

Re: Issue 5479 in pharo: LanguageEnvironment depends on Network

pharo
Updates:
        Status: Invalid

Comment #2 on issue 5479 by [hidden email]: LanguageEnvironment  
depends on Network
http://code.google.com/p/pharo/issues/detail?id=5479

are you using the latest Pharo?  This is removed since a while... and for  
sure not there in 14389


_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker
Reply | Threaded
Open this post in threaded view
|

Re: Issue 5479 in pharo: LanguageEnvironment depends on Network

pharo

Comment #3 on issue 5479 by [hidden email]: LanguageEnvironment  
depends on Network
http://code.google.com/p/pharo/issues/detail?id=5479

I'm using -> Latest update: #14348

Ok, will update, sorry!


_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker