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

elementary_test: italic and bold #419

Open
joaoantoniocardoso opened this issue Sep 9, 2020 · 1 comment
Open

elementary_test: italic and bold #419

joaoantoniocardoso opened this issue Sep 9, 2020 · 1 comment
Labels
bug windows-native Related to port of EFL to natively compile in Windows with clang-cl

Comments

@joaoantoniocardoso
Copy link
Contributor

joaoantoniocardoso commented Sep 9, 2020

In elementary_test, any textbox or label should be able to display bold and italic text.

Expected behavior

  • Text inside <b>bold</b> markup tags should be displayed in bold
  • Text inside <i>italic</i> markup tags should be displayed in italic

Actual behavior

  • The text inside bold or italic markup tags is being displayed as normal text.

Steps to reproduce

In elementary_test:

  • Entry Style Default should display some text in bold and some in italic
  • Efl.CanvasTextblock style should display bold if the style string font_weight=bold is added in the text box.
  • Efl.CanvasTextblock style should display italic if the style string font_style=italic is added in the text box.
@joaoantoniocardoso joaoantoniocardoso added the windows-native Related to port of EFL to natively compile in Windows with clang-cl label Sep 15, 2020
@joaoantoniocardoso
Copy link
Contributor Author

Since the merge of PR #441, this is no longer an issue if using fontconfig. To do so:

  1. install it with vcpkg by running vcpkg install fontconfig:x64-windows
  2. then it needs to be enabled in the configure.bat by settting -Dfontconfig=true
  3. also, the ambient variable fontconfig_file must be set to the location of the file fonts.conf of your fontconfig instalation, eg: C:\src\vcpkg\installed\x64-windows\tools\fontconfig\fonts\fonts.conf.

@JPTIZ JPTIZ added this to the Natively Compile in Windows milestone Oct 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug windows-native Related to port of EFL to natively compile in Windows with clang-cl
Projects
None yet
Development

No branches or pull requests

2 participants