Sponsored Content
Top Forums UNIX for Advanced & Expert Users converting Opentype to ASCII (for groff) Post 55406 by abby on Friday 10th of September 2004 08:40:08 PM
Old 09-10-2004
converting Opentype to ASCII (for groff)

I'm trying to convert different versions of helvetica neue from Opentype to ascii so that groff can use them in conjunction with VI (I believe everything is printed to postscript after). Ultimately i need to be able to use these specific helvetica fonts in VI, but in order to do this i must convert the opentype format. Can anyone direct me? Thanks
 

10 More Discussions You Might Find Interesting

1. Programming

converting hex to ascii

Hi everyone! I was wondering if anyone knows how to change hex code back into ascii. when i process a form: " / " turn to " %2F " " @ " turns to " %40 " " ' " turns to " %27 " " ( " turns to " %28 " " ) " turns to " %29 " this is my code so far: order.txt thanks, primal p.s.... (1 Reply)
Discussion started by: primal
1 Replies

2. UNIX for Advanced & Expert Users

Converting ASCII to Binary mode

Dear All, Business Users are transfering ( FTP ) a CSV file into the IBM AIX box with transfer mode as ASCII. But I want to convert the CSV file from ASCII mode into binary mode, as my script expects file in binary mode. Is it possible to do through Unix commands? Thanks in Advance, RK (1 Reply)
Discussion started by: srajeshmca
1 Replies

3. UNIX for Advanced & Expert Users

Cutting two colums and converting them to ascii (.txt) format

Hello Gurus, I have a file in which two columns contains binary data i want to cut those two binary columns convert them to ascii and process the file. i tried using cut command..i am able to cut but how can i convert them from binary to ascii and paste them in their original position. ... (1 Reply)
Discussion started by: mora
1 Replies

4. UNIX for Advanced & Expert Users

Converting Binary decimal coded values to Ascii Values

Hi All, Is there any command which can convert binary decimal coded values to ascii values... i have bcd values like below оооооооооооо0о-- -v - Pls suggest a way to convert this. Thanks, Deepti.Gaur (3 Replies)
Discussion started by: gaur.deepti
3 Replies

5. Shell Programming and Scripting

convert ascii values into ascii characters

Hi gurus, I have a file in unix with ascii values. I need to convert all the ascii values in the file to ascii characters. File contains nearly 20000 records with ascii values. (10 Replies)
Discussion started by: sandeeppvk
10 Replies

6. UNIX for Dummies Questions & Answers

Groff: How do you create bibliographies in APA?

I am using the following command to create the document: refer -p final_ref.cit group6_final.roff | groff -ms -f T > group6_final.ps As you may have surmised, this is indeed homework, however, the question is not related to the homework whatsoever. The paper is for a course in Library... (1 Reply)
Discussion started by: Bubnoff
1 Replies

7. Shell Programming and Scripting

Converting hex to ascii/decimal

I am writing a bash script to do some parsing on a log and I am running into a problem when it comes to converting only certain sections of the file from hex to ascii or hex to decimal. Data Example: The hex values after Hardware and SW Version I need to convert from Hex to ASCII and the... (16 Replies)
Discussion started by: Shiftkey
16 Replies

8. Shell Programming and Scripting

Converting CSV to ascii format

Hej All, I have a file like this which is a comma dilimited: input: 6000318,-263.011520678,-59.05869872409,587.67924868792 6000319,-265.6996842902,-50.24902479999,590.65693082607 6000320,-238.1333898366,-288.801232595,633.75332173496... (5 Replies)
Discussion started by: Johanni
5 Replies

9. Shell Programming and Scripting

Converting a binary file to ascii and vice versa?

Hi All, I have a binary file which is being exported from a Database, and i need to convert that to ASCII format. How can i achieve that? And this solution should work for any file which is given to us; means they will give different files from different tables. Thanks in advance. (8 Replies)
Discussion started by: baranisachin
8 Replies

10. UNIX for Beginners Questions & Answers

Help understanding Groff environements ( .ev )

Hi guys! I'm not exactly a newbie Unix-like user (Slackware and Red Had in the 90's, distro hoping in the 2000's, ArchLinux for the best part of the 2010's, and currently OpenBSD). But I certainly have a newbie question about Groff. :) I had decided to learn groff, and never did. And then... (0 Replies)
Discussion started by: Richard L.
0 Replies
EQN2GRAPH(1)						      General Commands Manual						      EQN2GRAPH(1)

NAME
eqn2graph - convert an EQN equation into a cropped image SYNOPSIS
eqn2graph [ -unsafe ] [ -format fmt ] DESCRIPTION
Reads an EQN equation (one line) as input; produces an image file (by default in Portable Network Graphics format) suitable for the Web as output. Your input EQN code should not have the .EQ/.EN preamble that that normally precedes it within groff(1) macros; nor do you need to have dollar-sign or other delimiters around the equation. The output image will be clipped to the smallest possible bounding box that contains all the black pixels. Older versions of convert(1) will produce a black-on-white graphic; newer ones may produce a black-on-transparent graphic. By specifying command-line options to be passed to convert(1) you can give it a border, force the background transparent, set the image's pixel density, or perform other useful transformations. This program uses eqn(1), groff(1), and the ImageMagick convert(1) program. These programs must be installed on your system and accessible on your $PATH for eqn2graph to work. OPTIONS
-unsafe Run groff(1) in the `unsafe' mode enabling the PIC macro sh to execute arbitrary commands. The default is to forbid this. -format fmt Specify an output format; the default is PNG (Portable Network Graphics). Any format that convert(1) can emit is supported. Command-line switches and arguments not listed above are passed to convert(1). FILES
/usr/share/groff/1.21/tmac/eqnrc The eqn(1) initialization file. ENVIRONMENT
GROFF_TMPDIR The directory in which temporary files will be created. If this is not set eqn2graph searches the environment variables TMPDIR, TMP, and TEMP (in that order). Otherwise, temporary files will be created in /tmp. BUGS
Due to changes in the behavior of ImageMagick convert(1) that are both forward and backward-incompatible, mismatches between your eqn2graph and convert(1) versions may produce zero-sized or untrimmed output images. For this version of eqn2graph you will need a version of con- vert(1) that supports the -trim option; older versions of eqn2graph used -crop 0x0, which no longer has trimming behavior. SEE ALSO
pic2graph(1), grap2graph(1), eqn(1), groff(1), gs(1), convert(1). AUTHOR
Eric S. Raymond <esr@thyrsus.com>. Groff Version 1.21 31 December 2010 EQN2GRAPH(1)
All times are GMT -4. The time now is 04:43 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy