Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[discovery] Font preview text strings #20

Open
4 tasks
Tracked by #34
pathumego opened this issue Jan 30, 2017 · 8 comments
Open
4 tasks
Tracked by #34

[discovery] Font preview text strings #20

pathumego opened this issue Jan 30, 2017 · 8 comments

Comments

@pathumego
Copy link
Contributor

pathumego commented Jan 30, 2017

For #19. @lpsandaruwan We already have a lots of test strings at hand to go for the alpha. But the actual task is not collecting them but organising them with necessary data. Once we start diggininto #37 we will revisit this, but form now we need to do the following.

  • define json structure: As we discussed the test and preview text strings has to come from json objects and will come with set of tags and metadata that correspond to tags. (ie: When a user select Sinhala language to filter, the test string will switch to Sinhala)
  • Once we have that structure I can start putting together the test strings in that json structure. I would like to keep the sources in yaml and convert that in the build.
  • Text strings for font-box previews [discovery] Font preview options #19
  • Text strings for test compare view [test-compare-view] Implement test compare view #26
@pathumego pathumego added this to the 0.1.0-alpha milestone Jan 30, 2017
@pathumego pathumego self-assigned this Jan 30, 2017
@pathumego pathumego changed the title [discovery] Preview texts and contents [discovery] Font preview text strings Feb 4, 2017
@lpsandaruwan
Copy link
Member

lpsandaruwan commented Feb 4, 2017

What came to my mind is a YAML structure like this,

English:
    - sentence:
        - DJs flock by when MTV ax quiz prog.
        - Vamp fox held quartz duck just by wing.
    - para:
        - Grumpy wizards make toxic brew for the evil Queen and Jack. One morning, when Gregor Samsa woke from troubled dreams, he found himself transformed in his bed into a horrible vermin. He lay on his armour-like back, and if he lifted his head a little he could see his brown belly, slightly domed and divided by arches into stiff sections.

@lpsandaruwan
Copy link
Member

Using a structure like this, when you query using an option I can pass strings as a JSON, a list like below, and loop it on font boxes,
["sentense1", "sentense2", "sentense3"]

@pathumego
Copy link
Contributor Author

Can we use a subset of this structure that we discussed?

@lpsandaruwan
Copy link
Member

No problem.

@pathumego
Copy link
Contributor Author

Okays, I will start organising the texts. If i update and maintain the texts in testexts repo, we can include it in as a submodule and process and take only the needed json right? That way we can outsource the whole text strings part :)

@lpsandaruwan
Copy link
Member

It is better, tell me when testtexts is ready, so then I can start implementing Fontman core module to read from testtexts. 👍

@pathumego
Copy link
Contributor Author

CC @ruwanego

@lpsandaruwan
Copy link
Member

@pathumego Any updates? :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants