For my PluggableListMorph, the model prepares list elements on a "String new writeStream."
They are not static. I need for these list elements to be aligned in columns like a small spreadsheet. A fixed font would be handy - how can I install one? Any other approaches to get columns in a list? - Dan _______________________________________________ Cuis mailing list [hidden email] http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org |
I want this too. What needs to be done is to make a StrikeFont, IIRC. I didn't get a round toit. If anyone has an extra round toit that I can borrow, I'd be very appreciative.
Anyway I think if you look around at the class StrikeFont, you'll find a trailhead or rabbit hole that you can follow toward how to #doIt. Someone correct me if I'm wrong. --C > On Jul 8, 2015, at 5:03 PM, "Dan Norton" <[hidden email]> wrote: > > For my PluggableListMorph, the model prepares list elements on a "String new writeStream." > They are not static. I need for these list elements to be aligned in columns like a small > spreadsheet. A fixed font would be handy - how can I install one? > > Any other approaches to get columns in a list? > > - Dan > > _______________________________________________ > Cuis mailing list > [hidden email] > http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org _______________________________________________ Cuis mailing list [hidden email] http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org |
On 9 Jul 2015 at 19:11, Casey Ransberger wrote:
> I want this too. What needs to be done is to make a StrikeFont, > IIRC. I didn't get a round toit. If anyone has an extra round toit > that I can borrow, I'd be very appreciative. > Thought I had one... must be around here somewhere... :( > Anyway I think if you look around at the class StrikeFont, you'll > find a trailhead or rabbit hole that you can follow toward how to > #doIt. > Browsing through strike fonts, I see no fixed widths. But, true type fonts have a few fixed-width examples. There seems to be no way to install a .ttf in Cuis currently. Can we port TrueType-Support from Squeak? Should there be a sibling of StrikeFont, say TrueTypeFont, which inherits from AbstractFont? Any hints or guidance would be most welcomed. > Someone correct me if I'm wrong. > > --C > > > On Jul 8, 2015, at 5:03 PM, "Dan Norton" <[hidden email]> > wrote: > > > > For my PluggableListMorph, the model prepares list elements on a > "String new writeStream." > > They are not static. I need for these list elements to be aligned > in columns like a small > > spreadsheet. A fixed font would be handy - how can I install > one? > > > > Any other approaches to get columns in a list? > > > > - Dan > > > > _______________________________________________ > > Cuis mailing list > > [hidden email] > > http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org > > _______________________________________________ > Cuis mailing list > [hidden email] > http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org - Dan _______________________________________________ Cuis mailing list [hidden email] http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org |
On Fri, 2015-07-10 at 10:20 -0400, Dan Norton wrote:
> On 9 Jul 2015 at 19:11, Casey Ransberger wrote: > > > I want this too. What needs to be done is to make a StrikeFont, > > IIRC. I didn't get a round toit. If anyone has an extra round toit > > that I can borrow, I'd be very appreciative. > > > Thought I had one... must be around here somewhere... :( > > > Anyway I think if you look around at the class StrikeFont, you'll > > find a trailhead or rabbit hole that you can follow toward how to > > #doIt. > > > Browsing through strike fonts, I see no fixed widths. But, true type fonts have a few > fixed-width examples. There seems to be no way to install a .ttf in Cuis currently. > > Can we port TrueType-Support from Squeak? > > Should there be a sibling of StrikeFont, say TrueTypeFont, which inherits from AbstractFont? > > Any hints or guidance would be most welcomed. I'd like a fixed-width font as well but I suspect that this is one of the areas it might be better to wait until Morphic 3 on (i.e. isn't the existing font support based on bitmap fonts rather than vector?) > > > Someone correct me if I'm wrong. > > > > --C > > > > > On Jul 8, 2015, at 5:03 PM, "Dan Norton" <[hidden email]> > > wrote: > > > > > > For my PluggableListMorph, the model prepares list elements on a > > "String new writeStream." > > > They are not static. I need for these list elements to be aligned > > in columns like a small > > > spreadsheet. A fixed font would be handy - how can I install > > one? > > > > > > Any other approaches to get columns in a list? > > > > > > - Dan > > > > > > _______________________________________________ > > > Cuis mailing list > > > [hidden email] > > > http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org > > > > _______________________________________________ > > Cuis mailing list > > [hidden email] > > http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org > > - Dan > > > _______________________________________________ > Cuis mailing list > [hidden email] > http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org _______________________________________________ Cuis mailing list [hidden email] http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org |
On 10 Jul 2015 at 13:29, Phil (list) wrote:
> On Fri, 2015-07-10 at 10:20 -0400, Dan Norton wrote: > > On 9 Jul 2015 at 19:11, Casey Ransberger wrote: > > > > > I want this too. What needs to be done is to make a > StrikeFont, > > > IIRC. I didn't get a round toit. If anyone has an extra round > toit > > > that I can borrow, I'd be very appreciative. > > > > > Thought I had one... must be around here somewhere... :( > > > > > Anyway I think if you look around at the class StrikeFont, > you'll > > > find a trailhead or rabbit hole that you can follow toward how > to > > > #doIt. > > > > > Browsing through strike fonts, I see no fixed widths. But, true > type fonts have a few > > fixed-width examples. There seems to be no way to install a .ttf > in Cuis currently. > > > > Can we port TrueType-Support from Squeak? > > > > Should there be a sibling of StrikeFont, say TrueTypeFont, which > inherits from AbstractFont? > > > > Any hints or guidance would be most welcomed. > > I'd like a fixed-width font as well but I suspect that this is one > of > the areas it might be better to wait until Morphic 3 on (i.e. isn't > the > existing font support based on bitmap fonts rather than vector?) > Yes, the only font now is DejaVu and it's a bitmap font. I found some fixed bitmap fonts among the true types at: http://www.lowing.org/fonts/ Adding a sublcass to AbstractFont to load one of these might be doable near-term until Morphic 3 comes along. Porting TrueType from Squeak has a lot of drag. > > > > > Someone correct me if I'm wrong. > > > > > > --C > > > > > > > On Jul 8, 2015, at 5:03 PM, "Dan Norton" > <[hidden email]> > > > wrote: > > > > > > > > For my PluggableListMorph, the model prepares list elements on > a > > > "String new writeStream." > > > > They are not static. I need for these list elements to be > aligned > > > in columns like a small > > > > spreadsheet. A fixed font would be handy - how can I install > > > one? > > > > > > > > Any other approaches to get columns in a list? > > > > > > > > - Dan > > > > > > > > _______________________________________________ > > > > Cuis mailing list > > > > [hidden email] > > > > http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org > > > > > > _______________________________________________ > > > Cuis mailing list > > > [hidden email] > > > http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org > > > > - Dan > > > > > > _______________________________________________ > > Cuis mailing list > > [hidden email] > > http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org > > > > _______________________________________________ > Cuis mailing list > [hidden email] > http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org _______________________________________________ Cuis mailing list [hidden email] http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org |
On Fri, 10 Jul 2015 15:05:50 -0400
"Dan Norton" <[hidden email]> wrote: > Yes, the only font now is DejaVu and it's a bitmap font. I found some fixed bitmap fonts > among the true types at: > > http://www.lowing.org/fonts/ > > Adding a sublcass to AbstractFont to load one of these might be doable near-term until > Morphic 3 comes along. Porting TrueType from Squeak has a lot of drag. My Cuis-Smalltalk-Unicode package subclasses AbstractFont and provides fixed width characters. See class #UniForms Unicode is kinda big, memory wise. I suspect one should be able to take the ASCII subset of the Unicode glyphs and make a strike font -- or just do what I did for Unicode, but just use the ASCII subset. FYI, -KenD _______________________________________________ Cuis mailing list [hidden email] http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org
-KenD
|
In reply to this post by Dan Norton
Hi Folks,
It is not too hard to build new StrikeFonts. You need to build, by hand, files like the ones in here: https://dl.dropboxusercontent.com/u/13285702/BitmapDejaVuAllSizes.zip and learn a bit about stuff like #installDejaVu2 . Maybe it was with this method and the files in this zip that built the existing instances of StrikeFont. Not sure. I think DejaVu Sans Mono would be a great addition, and would look well to the existing DejaVu Sans. In any case, don't be afraid, and play with the stuff. It is there so you can do it. BTW, yesterday I learnt about https://github.com/tonsky/FiraCode . I think it is wonderful. We can't just adopt it, as we don't have ligatures. But maybe some time, Morphic 3 could be made to use it. Cheers, Juan vuletich On 7/8/2015 9:03 PM, Dan Norton wrote: > For my PluggableListMorph, the model prepares list elements on a "String new writeStream." > They are not static. I need for these list elements to be aligned in columns like a small > spreadsheet. A fixed font would be handy - how can I install one? > > Any other approaches to get columns in a list? > > - Dan _______________________________________________ Cuis mailing list [hidden email] http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org |
In reply to this post by Dan Norton
On 7/10/2015 11:20 AM, Dan Norton wrote:
> ... > Browsing through strike fonts, I see no fixed widths. But, true type fonts have a few > fixed-width examples. There seems to be no way to install a .ttf in Cuis currently. > > Can we port TrueType-Support from Squeak? > > Should there be a sibling of StrikeFont, say TrueTypeFont, which inherits from AbstractFont? > > Any hints or guidance would be most welcomed. > I'd say, stick to StrikeFonts, and learn to build new ones. I the other message I just sent, I included more details. Cheers, Juan Vuletich _______________________________________________ Cuis mailing list [hidden email] http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org |
In reply to this post by Dan Norton
On 7/10/2015 4:05 PM, Dan Norton wrote:
> ... > Yes, the only font now is DejaVu and it's a bitmap font. I found some fixed bitmap fonts > among the true types at: > > http://www.lowing.org/fonts/ > > Adding a sublcass to AbstractFont to load one of these might be doable near-term until > Morphic 3 comes along. Porting TrueType from Squeak has a lot of drag. > ProFontWindows doesn't look bad. In any case, I built the Bitmap DejaVu fonts in Cuis (and Squeak and Pharo) by capturing the bits from the screen of a text editor, running the TTF. You can do the same with DejaVu Sans Mono or any other TTF / OTF / whatever. Cheers, Juan Vuletich _______________________________________________ Cuis mailing list [hidden email] http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org |
In reply to this post by Juan Vuletich-4
Quoting Casey If we can throw in some HyperCard and... A long time algo wish Squeak could read HyperCard stacks. If Cuis could do this , bet we have thousands users. Anyway whats the HyperCard status ?
_______________________________________________ Cuis mailing list [hidden email] http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org |
Hi Edgar,
Is there such a project? Any reference? Thanks, Juan Vuletich On 7/11/2015 5:24 PM, Edgar J De Cleene wrote:
_______________________________________________ Cuis mailing list [hidden email] http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org |
I think there was something like that. Need to search in the Squeak
list. And check the porting effort. Might be doable with Cuis these days. --Hannes On 7/16/15, Juan Vuletich <[hidden email]> wrote: > Hi Edgar, > > Is there such a project? Any reference? > > Thanks, > Juan Vuletich > > On 7/11/2015 5:24 PM, Edgar J De Cleene wrote: >> Quoting Casey >> >>> If we can throw in some HyperCard and... >> >> A long time algo wish Squeak could read HyperCard stacks. >> If Cuis could do this , bet we have thousands users. >> Anyway whats the HyperCard status ? >> > > _______________________________________________ Cuis mailing list [hidden email] http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org |
Casey , you begin all this a long time ago. Hope you could be healthy and join to the quest soon. To my short memory , no code or significant progress. Not knowing if Apple could be persuaded HyperCard go open source or give technical info what could be useful to any wishing bring HyperCard to life again.. But glad Juan , Hannes show interest. Edgar On Thursday, July 16, 2015 at 10:00 AM, H. Hirzel wrote:
_______________________________________________ Cuis mailing list [hidden email] http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org |
HyperCard Factoids
- The reason that HyperCard failed to support color for many years was that the project leader was color blind and could not see using all those extra bits just to support color. [Someone at Apple told me this, I forget who.] - The original Myst was developed & deployed using HyperCard. [I found this out from Robyn and Rand Miller when they visited Apple.] FYI, -KenD _______________________________________________ Cuis mailing list [hidden email] http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org
-KenD
|
Lic. Ignacio Sniechowski, MBA Prosavic SRL Tel: (011) 4542-6714 On Fri, Jul 17, 2015 at 4:11 PM, Ken.Dickey <[hidden email]> wrote: HyperCard Factoids _______________________________________________ Cuis mailing list [hidden email] http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org
Nacho
Smalltalker apprentice.
Buenos Aires, Argentina.
|
At the moment my interest is in creating a very small subset of Hypercard
Pictures on cards with a caption and buttons. Plus cards with bullet lists. I postpone the direct manipulation aspect currently. I describe what is on the cards with Smalltalk (you may call it a "DSL" for describing stacks). And I have a reader for MarkDown and other similar types of input. These very days I focus on generating export formats (Just a sequence of JPEGs to put on a tablet as is, LibreOffice Writer, LibreOffice Impress, Large JPEG with many cards to create a poster, Microsoft Word, Powerpoint, Markdown e.g. https://www.swipe.to/). I work on Pharo 4 at the moment and I aim at easy porting to Cuis. More interaction will come later (drag and drop activities). For a fairly recent Hypercard in Smalltalk / Squeak discussions see the Squeak mailing list Feb 24, 2013 at 10:54 AM About HyperCard A thread started by Edgar. I downloaded the sample image and could run a stack like the Hypercard help stack in Squeak (screen shot attached). Below an extract of that thread. -- Hannes Feb 24, 2013 at 10:54 AM About HyperCard http://www.vpri.org/pdf/m2011001_dbjr_spec.pdf DynaBook Junior Specification by Ted Kaehler 14 Jan 2009. (Minor corrections 13 Dec 2010) A specification for DynaBook Junior shown in itself. DBJr is a desktop publishing framework and application builder that is modeled after Apple's HyperCard. Abstract DynaBook Junior is a desktop publishing framework and application builder that is modeled after Apple's HyperCard(tm). The purpose of this specification is as a starting point for the discovery of an extremely simple way to describe and automatically generate DynaBook Junior. The specification describes stacks, pages, backgrounds, objects embedded in pages, the front-to-back ordering of objects, and page-specific objects. This document is itself a DBJr stack that shows examples of the features it describes. Algorithms for showing a new page, adding pages, adding backgrounds, and adding objects to a page are given in pseudocode. http://tinlizzie.org/lesserphic2/ download the example stack http://tinlizzie.org/lesserphic2/aboutDBJr%205-Aug.morph in addition, locate it with the file browser and then choose 'load as morph' .... While the DynaBookJr (I always misread "DBJr" as "DataBase Jr") is indeed a good modern replacement for HyperCard, isn't the normal BookMorph already available in Squeak a reasonable approximation? ... The Lesserphic version of DBJr is considered to be obsolete. It uses the "Etoys-style" uniclasses for pages but we later figured out a simpler way of implementing it. ... http://www.vpri.org/pdf/m2013003_ksapps.pdf ... research report 'Making applications in KSWorld' and the equally interesting report of October 2012 'A Report on KScript and KSWorld' http://www.vpri.org/html/writings.php Chapter 6 of the the October report talks about the hosting environment which happens to be Squeak <citation> Hosting Environment: Squeak As of this writing, the KSWorld is hosted on top of Squeak Smalltalk [10]. A special Morphic widget called KSMorph is created under RectangleMorph. </citation> .... In the new document, Section 7.1 discusses the "Document Model" and Section 8.9 says it took about 200 lines to implement. On 7/17/15, Ignacio Sniechowski <[hidden email]> wrote: > This is a good resource for HyperCard and HyperTalk > > http://hypercard.org > > cheers > Nacho > > > *Lic. Ignacio Sniechowski, MBA* > *Prosavic SRL* > > *Tel: (011) 4542-6714* > > > > > > > > > > > > > > > > > > > On Fri, Jul 17, 2015 at 4:11 PM, Ken.Dickey <[hidden email]> wrote: > >> HyperCard Factoids >> >> - The reason that HyperCard failed to support color for many years was >> that the project leader was color blind and could not see using all those >> extra bits just to support color. [Someone at Apple told me this, I >> forget >> who.] >> >> - The original Myst was developed & deployed using HyperCard. [I found >> this out from Robyn and Rand Miller when they visited Apple.] >> >> FYI, >> -KenD >> >> _______________________________________________ >> Cuis mailing list >> [hidden email] >> http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org >> > _______________________________________________ Cuis mailing list [hidden email] http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org StackInDynaBookJunior.gif (74K) Download Attachment |
In reply to this post by nacho
Ignacio beats me. But I download Stacksmith and CinsImp Seems https://github.com/uliwitness/Stacksmith and http://hammer-language.com/ should be the docs to read. Excited !!! Edgar _______________________________________________ Cuis mailing list [hidden email] http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org |
In reply to this post by KenDickey
On 10 Jul 2015 at 16:51, Ken.Dickey wrote:
> On Fri, 10 Jul 2015 15:05:50 -0400 > "Dan Norton" <[hidden email]> wrote: > > > Yes, the only font now is DejaVu and it's a bitmap font. I found > some fixed bitmap fonts > > among the true types at: > > > > http://www.lowing.org/fonts/ > > > > Adding a sublcass to AbstractFont to load one of these might be > doable near-term until > > Morphic 3 comes along. Porting TrueType from Squeak has a lot of > drag. > > My Cuis-Smalltalk-Unicode package subclasses AbstractFont and > provides fixed width characters. > > See class #UniForms > > Unicode is kinda big, memory wise. I suspect one should be able to > take the ASCII subset of the Unicode glyphs and make a strike font > -- or just do what I did for Unicode, but just use the ASCII > subset. > > FYI, > -KenD That is awesome, Ken. - Dan _______________________________________________ Cuis mailing list [hidden email] http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org |
In reply to this post by Juan Vuletich-4
On 11 Jul 2015 at 13:40, Juan Vuletich wrote:
> Hi Folks, > > It is not too hard to build new StrikeFonts. You need to build, by > hand, > files like the ones in here: > https://dl.dropboxusercontent.com/u/13285702/BitmapDejaVuAllSizes.zi > p > and learn a bit about stuff like #installDejaVu2 . Maybe it was with > this method and the files in this zip that built the existing > instances > of StrikeFont. Not sure. > That's intrigueing but I can't reproduce it. Maybe the .bmp but where did you get the .txt? - Dan _______________________________________________ Cuis mailing list [hidden email] http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org |
In reply to this post by Juan Vuletich-4
On 11 Jul 2015 at 13:46, Juan Vuletich wrote:
> On 7/10/2015 4:05 PM, Dan Norton wrote: > > ... > > Yes, the only font now is DejaVu and it's a bitmap font. I found > some fixed bitmap fonts > > among the true types at: > > > > http://www.lowing.org/fonts/ > > > > Adding a sublcass to AbstractFont to load one of these might be > doable near-term until > > Morphic 3 comes along. Porting TrueType from Squeak has a lot of > drag. > > > > ProFontWindows doesn't look bad. In any case, I built the Bitmap > DejaVu > fonts in Cuis (and Squeak and Pharo) by capturing the bits from the > screen of a text editor, running the TTF. You can do the same with > DejaVu Sans Mono or any other TTF / OTF / whatever. > Currently I am porting TrueType. By way of a progress report, drag has been reduced and by installing https://github.com/dhnorton/Cuis-Smalltalk-fonts and cmd-d "tt := TTFontReader parseFileNamed:'c:\windows\fonts\cour.ttf'" you have a true type instance "tt" which, when explored, bears a strong resemblance to the same thing if done on Squeak, according to my eyeballs. Now to transform(?) convert(?) this font to something which can be added to AvailableFonts and used. WIBGI it could be used as is? There are several fixed-width fonts in the .ttf set. - Dan _______________________________________________ Cuis mailing list [hidden email] http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org |
Free forum by Nabble | Edit this page |