-
1. Re: Font 'Space glyph' problem with custom font!
Mylenium Oct 25, 2012 12:33 AM (in response to AdobeLuvr007)Spaces are special and AE's text engine doesn't support some fancies like specific glyph substitutions. Perhaps it can be made to work with expressions using the .fromCharCode() string methods or some other magic like converting hex values. You could always assign it to a special character, also, and then replace you spaces with that character in your imported source text. Any slightly advanced text editor like Notepad+, BBEdit or whatever can do that easily. Even some simple regex .replace() would probably work then inside an AE expression....
Mylenium
-
2. Re: Font 'Space glyph' problem with custom font!
AdobeLuvr007 Oct 25, 2012 2:45 AM (in response to Mylenium)Hey Mylenium
thanks for the reply.
Yeah we also can copy the 'space glyph' too another character, lets say the '+'.
So we need to type 'We+Are+From+Earth'.
So why is it the custom spacebar shape is not showing up?
It is strange that is shows up when you convert to shapes.
So I have 2 options.
1. I have a colomn in exel where I type my normal text with space, and I have another column that copies that text and replaces the spaces with '+' signs. I guess it is the substitute formula, I just dont know how the formula works yet.
2. I add an expression too the BLOCK font layer in AE, which replaces the spaces by '+' signs. What would that expression be?
thanks a million.
-
3. Re: Font 'Space glyph' problem with custom font!
Mylenium Oct 25, 2012 3:09 AM (in response to AdobeLuvr007)It could be a bug in the text engine, it could be by design. Simple replacement of a single instance of a character would look like this:
myString="X Z"
myString.replace("\s","Y")
This will return "XYZ" as the result, where "\s" is the space character. For your purposes you would have to run this in a loop and possibly involve complex regular expressions or at least check all instances with indexOf(), so this could get ugly, not to mention that it will make things slow. If you can do it externally, it might be easier and quicker and a lot more safe.
Mylenium
-
4. Re: Font 'Space glyph' problem with custom font!
AdobeLuvr007 Oct 25, 2012 3:14 AM (in response to Mylenium)You are a scriptgod :)
I do not understand the scripting but I'm reminder the 'Slow' + 'ugly'.
Not a good combination!
thanks
-
5. Re: Font 'Space glyph' problem with custom font!
AdobeLuvr007 Oct 25, 2012 3:16 AM (in response to AdobeLuvr007)Still. Where do I put this script? On the Source text?
I guess it still needs lots of other expressions?
I will try the exel version.
This is too complex.



