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