| 1 | def can_build(env, platform): |
| 2 | env.module_add_dependencies("text_server_adv", ["freetype", "msdfgen", "svg"], True) |
| 3 | return True |
| 4 | |
| 5 | |
| 6 | def get_opts(platform): |
| 7 | from SCons.Variables import BoolVariable |
| 8 | |
| 9 | return [ |
| 10 | BoolVariable("graphite", "Enable SIL Graphite smart fonts support", True), |
| 11 | ] |
| 12 | |
| 13 | |
| 14 | def configure(env): |
| 15 | pass |
| 16 | |
| 17 | |
| 18 | def get_doc_classes(): |
| 19 | return [ |
| 20 | "TextServerAdvanced", |
| 21 | ] |
| 22 | |
| 23 | |
| 24 | def get_doc_path(): |
| 25 | return "doc_classes" |