As promised here the information :
How to install FontTools for Windows 10 64 bit and steps to convert a TTF to TTX (XML Format) and Back.
Step 1:
Go to
https://www.python.org/downloads/release/python-380/
Scroll down to Files and Download Windows x86-64 executable installer
Step 2: Once the download is complete you should have a file in your Download location called.
python-3.8.0-amd64.exe
Right Click this file and "Run as Administrator.
Step 3: Make sure to check the box : "Add Python 3.8 to Path"
Then click on "Customize installation"
Step 4: On this page make sure that all the options are checked.
Then click "Next" to continue
Step 5: Make sure that "Associate files with Python (requires the py launcher)" is checked and "Create shotrcuts for installed applications" too.
When ready click "Install"
Let the Setup Progress finish installing once done you should see "Setup was successful" if so you can click on "Close"
Press the Windows Key + R ro open the Run dialog.
In this box type CMD and click "Ok" or press Enter.
In the dos window type:
py -m pip install --upgrade pip
This will update Python PIP program for installers..
Close the Dos window.
Step 6: Open the Start Search, type in “env”, and choose “Edit the system environment variables”:
Click the “Environment Variables…” button.
In the section "User variables for <username>"
Click on path and press the Edit button
Click "New" and Paste the following in a new line
%USERPROFILE%\AppData\Local\Programs\Python\Python38\Scripts
Click Ok and Ok again on the other window.
Step 7: Press the Windows Key + R ro open the Run dialog.
In this box type CMD and click "Ok" or press Enter.
In the dos window type:
py -m pip install fonttools
and press "Enter"
If all went well you now have installed Font Tools with the TTX tool.
To convert a font now to TTX (XML text format) go to your folder where it is stored
for example accessing the Documents folder in the dos window type
cd %USERPROFILE%\Documents\Fonts
and press "Enter"
Once there I created the default font with Font Creator myfont.ttf. (Always make sure to backup your font in another location to avoid corruption or loss)
Type
TTX MyFont-Regular.ttf
once done you will have a file called MyFont-Regular.ttx
you can type
notepad MyFont-Regular.ttx
and press "Enter"
You will have Notepad opened up with the font fully editable at this stage it's now a learning process to see how we can do certain things such as a regex.
I recommend learning about XMLStarlet, If I had a copy of said font I could indicate where things need to change or regex to use.
Once your editing is done you can go back to the DOS window and type
TTX myfont.ttx
and this will return it back to TTF fprmat
(I'll be updating this shortly with screenshots of the steps and adding Tree Structures of the TTX file format hope this can help you find a solution to your request)
Shawn Dion
P.S: Do not hesitate to ask questions.