Hi Dave
Hi, this is Satya from Red Hat. My apology for the delay to reply your queries as I was on
leave for a fortnight also missed the chance to meet you here.
Please find the attachment for the zip file which contains all the required scripts at
various steps to get the final output file and the image generation script, created long
time ago, so, may be it fail to run, and need the code to be modified according to the
current python versions.
There is only one file you need to make input by hand, rest of the task done by the
scripts.
1. Open gedit or so, and type the unicode character without space(if it is GSUB or GPOS)
ans save the file as .uni extension. For example GPOS_BB.uni, in the .zip file attached.
2. Now, run unicode-to-char-new.py with the file .uni as input. This script converts all
the unicode values or its combinations mentioned in it into the corresponding
letters/characters (codepoint, GPOS or
GSUB)
For example : ./unicode-to-char-new.py GPOS_BB.uni
Output file will be GPOS_BB.txt file.
3. Now run the parser_txt.py1 with 2 input files and name one output file.
For example : ./parser_txt.py1 GPOS_BB.txt GPOS_BB.uni
IndicFontFeatureGPOS-BelowBase.txt "" ""
Output file will be IndicFontFeatureGPOS-BelowBase.txt file as attached in the zip
file. (This output file as attached, does contain the Description part which does not come
programatically, you need to
type it according to the description from the unicode chart. The actual output will be
like : U+0B15 U+0B01 , image/0B15-0B01.jpg, କଁ, <Description to be added manually
later accordingly>
4. Now coming to generation of the images. Run ImageGenerator.py with one input file with
it.
For example : ./ImageGenerator.py IndicFontFeatureGPOS-BelowBase.txt 50 30 "Lohit
Oriya Regular 15" *** This script also needs modification in terms of compatibility
to run with the current python
version.
Output files will be : image files with .jpg extensions as shown in the directory
/Images-GPOS-BB under or_IN-GPOS directory in the attached zip file.
This is how the raw files and images gets generated before it fits into the final display
pattern page or so. I hope it could answer your queries. Please feel free to communicate
for any further questions.
Regards
Satya
Satyabrata Maitra
Quality Engineer
Red Hat Inc.
PNQ Center, India.
DID : +91 20 304 67367
Cell : +91 9860 140303
Fax : +91 20 660 56040
***The wise man should restrain his senses like the crane and accomplish his purpose with
due knowledge of his place, time and ability***
----- Original Message -----
From: "Dave Crossland" <dave(a)lab6.com>
To: fuel-discuss(a)lists.fedorahosted.org
Sent: Wednesday, March 5, 2014 10:43:15 AM
Subject: How are UTRRS IndicFontFeatureGSUB.txt files generated?
Hi!
https://fedorahosted.org/utrrs/ says the source is available at
https://git.fedorahosted.org/git/utrrs.git/ but this 404s, the correct
URL is
https://git.fedorahosted.org/cgit/utrrs.git
Browsing the source, I see many files like
https://git.fedorahosted.org/cgit/utrrs.git/tree/utrrs/lang/ta_IN/font/da...
How are these files generated?
--
Cheers
Dave
_______________________________________________
fuel-discuss mailing list
fuel-discuss(a)lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/fuel-discuss