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

Add document model #3

Merged
merged 16 commits into from
Mar 19, 2022
Merged

Add document model #3

merged 16 commits into from
Mar 19, 2022

Conversation

mjakeman
Copy link
Owner

@mjakeman mjakeman commented Feb 5, 2022

  • Reimplements the document model from bluetype relicensed to use the MIT licence.
  • Simple RichTextWidget for displaying rich text documents
  • Basic layout and font rendering
  • Adds a simple demo application with rudimentary HTML parsing (only supports paragraph, line break at present) which is sufficient to display a comment from extensions.gnome.org.

It does not currently support:

  • Formatting of any kind
  • Any rich text element other than paragraph
  • Caching and occlusion culling
  • The ability to edit

TODO:

  • Fix warning about text_paragraph_append_run not being defined
  • Move parser into core library
  • Move rich text widget into core library
  • Fix include paths
  • Pre-calculated layout
  • Add unit tests Deferred (Unit Tests #4)

@mjakeman mjakeman merged commit 379437b into master Mar 19, 2022
@mjakeman mjakeman deleted the model branch March 19, 2022 10:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant