Issue 12 in glyphy: glyphy-demo: Handling startup parameters in a more robust way

43 views
Skip to first unread message

gly...@googlecode.com

unread,
Nov 7, 2014, 6:29:01 PM11/7/14
to gly...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 12 by cavalcan...@gmail.com: glyphy-demo: Handling startup
parameters in a more robust way
https://code.google.com/p/glyphy/issues/detail?id=12

Currently glyphy-demo allows the user to pass a text string to be rendered
as also select the font to be used, but it could do it in a more robust way
(i.e. calling ./glyphy-demo -h will crash the app).

The attached patch fixes it using getopt(), by allowing the user to pass
the parameter using flags (e.g.
./glyphy-demo -t "test test" -f /Library/Fonts/Microsoft/Calisto\ MT).

It will also properly handle cases where you can may want to just change
the font (while using the default text string) or the other way around.


Attachments:
0001-Use-getopt-to-treat-received-parameters.-Running-wit.patch 2.8 KB

--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

gly...@googlecode.com

unread,
May 8, 2015, 7:16:17 PM5/8/15
to gly...@googlegroups.com
Updates:
Status: Fixed

Comment #1 on issue 12 by beh...@google.com: glyphy-demo: Handling startup
Fixed. Thanks.
Reply all
Reply to author
Forward
0 new messages