Hey all! I need to load a stock Windows font because when I print to a FAX appliance it extracts metatags with the phone number, to, from re, etc. using Courier 10 (which is a raster font). I'm trying to do something like this, but without luck: CgDisplay default loadQueryFont:'-*-courier-*-r-normal-*-*-10-*-*-p-*-*-*' Any ideas? -Carl
-- You received this message because you are subscribed to the Google Groups "VA Smalltalk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. Visit this group at http://groups.google.com/group/va-smalltalk. For more options, visit https://groups.google.com/d/optout. |
Administrator
|
On Monday, August 18, 2014 2:43:42 PM UTC-7, Carl Gundel wrote:
-- I'm trying to do something like this, but without luck: Try evaluating something like this first: (CgDisplay default listFonts: '-*-courier*-*-r-*-*-*-100-*-*-*-*-*-*' maxnames: 1000) asArray. (Note that the point size is multiplied by 10 to allow half point sizes. So, 10 point is coded as 100 in the above example.) You received this message because you are subscribed to the Google Groups "VA Smalltalk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. Visit this group at http://groups.google.com/group/va-smalltalk. For more options, visit https://groups.google.com/d/optout. |
Thanks Richard, I changed the courier* value to courier because I cannot use 'courier new' fonts, and it still gave me a couple of results to use. :-) -Carl On Monday, August 18, 2014 6:08:44 PM UTC-4, Richard Sargent wrote:
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. Visit this group at http://groups.google.com/group/va-smalltalk. For more options, visit https://groups.google.com/d/optout. |
One other thing I notice. The only difference between your search template and the one I was using is that mine has a p in the 4th from last position. The fonts I was looking for have an m in that position so they were not being returned. Since your template has a * there, all the fonts were coming back. Do you know what the p and m stand for? Thanks, -Carl On Tuesday, August 19, 2014 8:29:16 AM UTC-4, Carl Gundel wrote:
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. Visit this group at http://groups.google.com/group/va-smalltalk. For more options, visit https://groups.google.com/d/optout. |
Administrator
|
On Tuesday, August 19, 2014 5:51:13 AM UTC-7, Carl Gundel wrote:
I believe they stand for "proportional" and "mono-spaced". For more details, look up "X Logical Font Description". A too short Wikipedia article is http://en.wikipedia.org/wiki/X_logical_font_description. You received this message because you are subscribed to the Google Groups "VA Smalltalk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. Visit this group at http://groups.google.com/group/va-smalltalk. For more options, visit https://groups.google.com/d/optout. |
Free forum by Nabble | Edit this page |