Pretty fonts

User avatar
garpu
Posts: 2070
Joined: Mon Oct 25, 2010 9:38 pm
Platform: Linux

Fri Jan 28, 2011 3:50 am Post

If you haven't figured this out...

corefonts via winetricks will give you all the fonts that don't come with wine that are used by Scrivener (like courier)

fontsmooth will make them look prettier.

And if you have a ttf font you like, you can install it in .wine/drive_c/windows/Fonts.
Slackware-current 64-bit, XFCE

ub
ubersoft
Posts: 133
Joined: Sun Nov 14, 2010 3:54 am
Platform: Linux

Fri Jan 28, 2011 2:05 pm Post

Didn't know about fontsmooth -- thanks for that tip. Does it automatically configure itself and turn itself on after wientricks installs it, or is there something extra that needs to be done?

User avatar
garpu
Posts: 2070
Joined: Mon Oct 25, 2010 9:38 pm
Platform: Linux

Fri Jan 28, 2011 2:28 pm Post

Nope, looks like it's just a wine registry thing.

Also...if you install the power point viewer, you can get some decent fonts, too. (They're usable, so long as you don't use them in a commercial setting.) Found that one here: http://www.oooninja.com/2008/01/calibri ... nload.html
Slackware-current 64-bit, XFCE

ca
catalinux
Posts: 49
Joined: Tue Oct 26, 2010 12:10 pm
Platform: Linux

Fri Jan 28, 2011 10:53 pm Post

winetricks corefonts are the same from ttf-mscorefonts-installer. To be sincere, I never liked MS fonts. And I still haven't found a decent looking font for my needs. In scrivener I use Bohemian typewriter font. It would have been perfect if it knew ă, ș, ț...
aptosid xfce/scrotwm amd64

User avatar
garpu
Posts: 2070
Joined: Mon Oct 25, 2010 9:38 pm
Platform: Linux

Sat Jan 29, 2011 1:00 am Post

Yeah, I know what you mean. I could spend all day looking for fonts. I really like New Century schoolbook, but I don't know enough to convert it to ttf (which wine uses.)
Slackware-current 64-bit, XFCE

ca
catalinux
Posts: 49
Joined: Tue Oct 26, 2010 12:10 pm
Platform: Linux

Sat Jan 29, 2011 8:02 pm Post

There is fontforge - "Besides being a font editor, FontForge is also a font format converter, and can convert among PostScript (ASCII & binary Type 1, some Type 3s, some Type 0s), TrueType, and OpenType (Type2), CID-keyed, SVG, CFF and multiple-master fonts."

It has very few dependencies, and if your font is recognize, you should try it ;)
aptosid xfce/scrotwm amd64

User avatar
garpu
Posts: 2070
Joined: Mon Oct 25, 2010 9:38 pm
Platform: Linux

Sat Jan 29, 2011 9:47 pm Post

Yeah I installed it. It's learning how to use it. Did you know you can procrastinate all day learning about different fonts? ;)

http://www.vromans.org/johan/OOo/oofonts03.html Just found that. Can't argue with a 2-line shell script. ;)
Slackware-current 64-bit, XFCE

ca
catalinux
Posts: 49
Joined: Tue Oct 26, 2010 12:10 pm
Platform: Linux

Tue Feb 01, 2011 6:37 pm Post

Thanks for sharing this script! I had for a long time some .pfb fonts, but never tried to convert those to .ttf. Let see how this works out:)
aptosid xfce/scrotwm amd64

User avatar
vic-k
Posts: 7135
Joined: Fri Apr 27, 2007 8:23 am
Platform: Mac + Windows
Location: Protesting in the nude, outside ex Red Lion TESCO Store

Tue Feb 01, 2011 6:59 pm Post

garpu wrote:Can't argue with a 2-line shell script.
Who the hell would want to? :?
vic
As a professional, you, are your one and only asset. Without integrity you are worthless, but with it, you are priceless.

User avatar
Jaysen
Posts: 6278
Joined: Mon Dec 17, 2007 4:00 am
Platform: Mac + Windows
Location: East-Be-Jesus-Nowhere SC, USA

Tue Feb 01, 2011 7:18 pm Post

vic-k wrote:
garpu wrote:Can't argue with a 2-line shell script.
Who the hell would want to? :?
vic

I would.
Jaysen

I have a wife and 2 kids that I can only attribute to a wiggle, a giggle, and the realization that she was out of my league so I might as well be happy with her as a friend. 26 years marriage later, I can't imagine life without her. -Me 10/7/09

ImageImage

User avatar
garpu
Posts: 2070
Joined: Mon Oct 25, 2010 9:38 pm
Platform: Linux

Tue Feb 01, 2011 7:43 pm Post

Heh. Have you seen some of the crazy scripts out there? Although clever isn't always the easiest thing to maintain...
Slackware-current 64-bit, XFCE

User avatar
Jaysen
Posts: 6278
Joined: Mon Dec 17, 2007 4:00 am
Platform: Mac + Windows
Location: East-Be-Jesus-Nowhere SC, USA

Tue Feb 01, 2011 7:53 pm Post

garpu wrote:Heh. Have you seen some of the crazy scripts out there? Although clever isn't always the easiest thing to maintain...

I am notorious for script obscenities. One of my favorites is an rsync wrapper that self determines it's config file based on the link used to invoke it. That was the clear part. It does some date manipulation and some log file munging before creating an in memory mail object that gets tossed directly to an smtp server. I see it as a thing of beauty. Others see it as proof that you can do just about anything using nothing more than ksh and sed. The boss' see it as "employment insurance".

Either way some of us older-school guys remember needing to strip newlines to keep memory consumption low. Those were the days…
Jaysen

I have a wife and 2 kids that I can only attribute to a wiggle, a giggle, and the realization that she was out of my league so I might as well be happy with her as a friend. 26 years marriage later, I can't imagine life without her. -Me 10/7/09

ImageImage

User avatar
Jaysen
Posts: 6278
Joined: Mon Dec 17, 2007 4:00 am
Platform: Mac + Windows
Location: East-Be-Jesus-Nowhere SC, USA

Tue Feb 01, 2011 7:53 pm Post

and for the record, I was not actually arguing. I was just answering the question. Who would? I would.
Jaysen

I have a wife and 2 kids that I can only attribute to a wiggle, a giggle, and the realization that she was out of my league so I might as well be happy with her as a friend. 26 years marriage later, I can't imagine life without her. -Me 10/7/09

ImageImage

User avatar
garpu
Posts: 2070
Joined: Mon Oct 25, 2010 9:38 pm
Platform: Linux

Tue Feb 01, 2011 8:03 pm Post

I am notorious for script obscenities. One of my favorites is an rsync wrapper that self determines it's config file based on the link used to invoke it. That was the clear part. It does some date manipulation and some log file munging before creating an in memory mail object that gets tossed directly to an smtp server. I see it as a thing of beauty. Others see it as proof that you can do just about anything using nothing more than ksh and sed. The boss' see it as "employment insurance".

Heh nice. I guess I don't mind "clever" so much as "dear God this makes my eyes bleed to read because the person wouldn't know what a comment was, if it hit him/her upside the head."
Slackware-current 64-bit, XFCE

User avatar
Jaysen
Posts: 6278
Joined: Mon Dec 17, 2007 4:00 am
Platform: Mac + Windows
Location: East-Be-Jesus-Nowhere SC, USA

Tue Feb 01, 2011 10:42 pm Post

One of my favorite tricks is not using sed or awk for some simple variable whacking

Code: Select all

VAR = "some long text"
FIRST = ${VAR# }
LAST = ${VAR% }
MID = ${{VAR# }% }

Many accuse me of feeling that no one should miss the daily eye bleed.
Jaysen

I have a wife and 2 kids that I can only attribute to a wiggle, a giggle, and the realization that she was out of my league so I might as well be happy with her as a friend. 26 years marriage later, I can't imagine life without her. -Me 10/7/09

ImageImage