PDA

View Full Version : Font-Style (small caps)



Gigermann
February 6th, 2017, 05:12
I apologize if this has been asked before…

I have a font that I need to get styled as small-caps. But the font doesn't come in small-caps, so I can't make an fgf. I see that the fonts XML supports ttf with a "size" attribute—what other attributes does it support?

Moon Wizard
February 6th, 2017, 19:26
The ttf font tag only supports "name", "size", "bold", "italic", "underline", "strikethrough".

Cheers,
JPG

Gigermann
February 6th, 2017, 21:37
Alas. Thanks.

Might be a worthwhile enhancement to enable full style control over fonts via the fonts.xml. Or maybe to the FGF converter, if that's easier.

LordEntrails
February 6th, 2017, 22:24
Alas. Thanks.

Might be a worthwhile enhancement to enable full style control over fonts via the fonts.xml. Or maybe to the FGF converter, if that's easier.
Given the development of an upcoming version of FG using the Unity platform is in works, I don't think this would be added to the current engine. But, the best place to post suggestions, for the current version or the future unity version, is on the wishlist at: https://fg2app.idea.informer.com/

pindercarl
February 7th, 2017, 15:50
I almost never publicly post anything about FGU, but attached is a screenshot of the Launcher text modified to test better language support (apologies to any German or French speakers for the Google translate). I added in a few features for the screenshot, including in-line text color, marker highlighting, in-line font changes, and, yes, small caps. Hopefully you'll also notice cleaner text rendering than the current FGF renderer.

DISCLAIMER: This is not intended as a guarantee of any FGU features, nor should it be considered an example of FGU features in toto.

17803

MarianDz
February 7th, 2017, 19:44
Last week I was made few tests with fonts. Because my language use letters as (ž č š ľ ô ť ľ š č ť ž ý á í é ý ď ´ˇ) beside common used
in English texts. So I want add them to FG, finally I found way how to integrate them :)

I know it is off topic :( but it was my first success in creating my own extesion and as typewriting skilled person much important.
17808

Zacchaeus
February 7th, 2017, 19:46
Last week I was made few tests with fonts. Because my language use letters as (ž č š ľ ô ť ľ š č ť ž ý á í é ý ď ´ˇ) beside common used
in English texts. So I want add them to FG, finally I found way how to integrate them :)

I know it is off topic :( but it was my first success in creating my own extesion and as typewriting skilled person much important.


Good work, are you going to share your extension?

LindseyFan
February 7th, 2017, 20:48
I almost never publicly post anything about FGU, but attached is a screenshot of the Launcher text modified to test better language support (apologies to any German or French speakers for the Google translate). I added in a few features for the screenshot, including in-line text color, marker highlighting, in-line font changes, and, yes, small caps. Hopefully you'll also notice cleaner text rendering than the current FGF renderer.

DISCLAIMER: This is not intended as a guarantee of any FGU features, nor should it be considered an example of FGU features in toto.


Drat! I only chose common and draconic languages.

LordEntrails
February 7th, 2017, 21:11
I almost never publicly post anything about FGU,
We know! We Know! You never tell us anything!


but attached is a screenshot of the Launcher text modified to test better language support (apologies to any German or French speakers for the Google translate). I added in a few features for the screenshot, including in-line text color, marker highlighting, in-line font changes, and, yes, small caps. Hopefully you'll also notice cleaner text rendering than the current FGF renderer.

DISCLAIMER: This is not intended as a guarantee of any FGU features, nor should it be considered an example of FGU features in toto.

Hey! What are you doing? Get back to work! You're wasting time telling us stuff! You could be using that to program FGU!

MarianDz
February 8th, 2017, 20:33
Good work, are you going to share your extension?

I don't know if I can share it :( because I does my tests with two fonts:
1.) Open Sans pt.11/13 - https://www.fontsquirrel.com/fonts/open-sans
2.) Ubuntu pt. 11/13 - https://www.fontsquirrel.com/fonts/ubuntu

and don't understand license well, maybe I can use them but don't know.

Or if someone knows link on free font which I can use for my tests with localized extension?

pindercarl
February 8th, 2017, 21:07
You should be okay to use both fonts. The open license for each does require that you include some license text files with your distribution.
Open Sans is an Apache License: https://www.apache.org/licenses/LICENSE-2.0
Ubuntu is the Ubuntu license: https://font.ubuntu.com/ufl/

MarianDz
February 9th, 2017, 17:47
thank you for help "carl"