-
Notifications
You must be signed in to change notification settings - Fork 121
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
[Accepted with Revisions] SDL 0251 - Font Styles #828
Comments
While I think that the idea is good, I'm not at all a fan of the implementation here. 1. The downside mentioned in the proposal I think is enough to reject the approach:
2. I'm not a fan of the repeated 3. This proposal needs to explicitly state each and every MOBILE_API change, and not just state things like:
Furthermore, how would this affect e.g. 4. There's no discussion of capability declarations in this proposal and that would be required IMO. 5. I would think that the 6. As I said, the idea here is a good one. Instead of this approach, I would suggest something like the following (based on Alternative 1): a. Design a markup language or simply use Markdown or HTML for strings (Markdown or HTML is probably preferred). Perhaps others will disagree with me on this implementation approach, but I think it has much greater upside and simplicity compared to the proposed approach. Of course, there's additional burden on the HMI to parse the markup. |
I think that it is a good idea because it improves readability by expressing bold, Italic, and Underline. In other words: Code is below. |
Personally I like the idea of using hypertext format. As Joel suggested we could use
|
Great feedback @joeljfischer @Shohei-Kawano That's more or less what I'm going for with one of the alternatives. If we go that route, what would the actual list of styles be though? @kshala-ford those are great questions. I did this proposal for bold, italic and underline as those are immediate asks that I've gotten and will be relatively simple to implement. I don't see any particular reason to get policies involved UNLESS we start getting more complex with styles. For example, font color or family starts encroaching on the UI design of the OEM headunit and would cause a lot more difficulty. To answer your last question - the same way that we do today - we don't know how much font fits regardless, an app has to test it |
@MichaelCrimando -san I would choose below:
I think that OEM decides how to display each element. For example, in Japan, italics are not often used. I think that the definition of expression differs depending on the country and OEM, so I think it is better to just send the attribute. |
The head unit does not have to be based on HTML5. The HMI would just have to have the ability to parse the simple HTML tags from the string and apply the styles. That doesn't require HTML at all and should be able to be done from a variety of systems. If we get much more complicated, then we do start requiring HTML browser HMIs which I think we should avoid.
This is one of the primary problems with this proposal: there's no way that an app developer can test it against all of the SDL head units different manufacturers may implement. And if we go with @Shohei-Kawano's suggestions of more semantic naming, they won't have any idea how the text will appear. With "bold", "italic", "underline", the developer has an idea of how the text will appear. With "strong", "emphasis", etc., they don't. It may appear in a way that violates their brand (such as appearing with colors that are outside of their palette or that look bad with their template color scheme. If this proposal were to be accepted, I strongly advocate that the app developers need a set of predictable rules that they can use. e.g.
|
The Steering Committee voted to return this proposal for revisions. The author will revise the proposal to move forward with using HTML tags for formatting individual parts of messages as mentioned in the |
The author has revised this proposal based on the Steering Committee's feedback, and the revised proposal is now in review until 2019-11-05. |
Other than those minor points, I'm in favor of this proposal. |
Also arrays use minsize and maxsize to describe the size requirements, not minvalue/maxvalue. |
The Steering Committee voted to accept this proposal with the revisions included in this comment and this comment. Additionally, the proposal revisions will include formatting specifications for the elements in the |
@MichaelCrimando Please advise when a new PR has been entered to update the proposal to reflect the agreed upon revisions. I'll then merge the PR so the proposal is up to date, and enter issues in the respective repositories for implementation. Thanks! |
Proposal has been updated to reflect agreed upon revisions, and implementation issues have been entered: |
Hello SDL community,
The review of the revised proposal "SDL 0251 - Font Styles" begins now and runs November 5, 2019. The original review of this proposal took place October 2 - 15, 2019. The proposal is available here:
https://github.com/smartdevicelink/sdl_evolution/blob/master/proposals/0251-font-styles.md
Reviews are an important part of the SDL evolution process. All reviews should be sent to the associated Github issue at:
#828
What goes into a review?
The goal of the review process is to improve the proposal under review through constructive criticism and, eventually, determine the direction of SDL. When writing your review, here are some questions you might want to answer in your review:
Please state explicitly whether you believe that the proposal should be accepted into SDL.
More information about the SDL evolution process is available at
https://github.com/smartdevicelink/sdl_evolution/blob/master/process.md
Thank you,
Theresa Lech
Program Manager - Livio
[email protected]
The text was updated successfully, but these errors were encountered: