Comments (2)
We are planning to redefine the style object to hold information about the kind of style they represent. With this change you would be able to call a _bullet as you wish and therefor have more and different styles for it. Unfortunately we are pretty busy at the moment so there is not a scheduled date for it.
If you are willing to collaborate I can maybe point out some explanation on how to achieve this.
from ftcoretext.
Hi Francesco,
I submitted two issues because I suspect these are two separate matters -- (1) custom bullet tags (which would allow diverse bullets in one view), and (2) "blockquote"-like indentation of text associated with bullet item text.
(Maybe there is actually a third, (3) bullet glyph styles distinct from bullet item text styles.)
The second issue is the most important to me. One way or another I need to get this effect. I'd be glad to do this by adding the capacity to FTCoreText, but I think I would need some pointers from you on your codebase so I could do it efficiently.
Right now, I'm guessing the CoreText way would be to set different values for the kCTParagraphStyleSpecifierFirstLineHeadIndent and kCTParagraphStyleSpecifierHeadIndent paragraph style specifiers. I notice that FTCoreText doesn't expose the distinction between these right now (lines 833-834).
Another alternative would be to use CoreText's tab functionality, but I'm not too familiar with it. I can see that FTCoreText is configuring it around lines 862-890.
What I like about FTCoreText is that it seems like a relatively thin wrapper around CoreText. So I'd hope this functionality could be added in a way that's natural.
Alexis
On Feb 15, 2012, at 00:25, Francesco wrote:
We are planning to redefine the style object to hold information about the kind of style they represent. With this change you would be able to call a _bullet as you wish and therefor have more and different styles for it. Unfortunately we are pretty busy at the moment so there is not a scheduled date for it.
If you are willing to collaborate I can maybe point out some explanation on how to achieve this.
Reply to this email directly or view it on GitHub:
#5 (comment)
from ftcoretext.
Related Issues (20)
- How to create pages HOT 1
- Allow CSS-like link stylings
- (request) : be able to load remote images HOT 8
- undefined tag
- wrong height when the root controller is a UINavigationController
- CocoaPod Integration HOT 2
- On Long press the link App crashes
- touched frame issues HOT 1
- Links in centered text HOT 2
- not working when added FTCoreTextView to UITableViewCell
- long press the link text,the link text becomes gray sometimes,and then always gray HOT 1
- "coreTextView:receivedTouchOnData:"doesn't execute ??? HOT 1
- l want open a new tag inside a predefined tag!!!! HOT 2
- Demo App crashes when href specfied
- touchedFrame (CGRect) issue for two links (or more) in one text line
- text selection
- FTCoreTextView weak property can't use assign
- appending HOT 3
- Not an issue but request; Able to handle link clicks? HOT 2
- Performance in UITableView HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ftcoretext.