In practical measurement, we often need to measure the shape of objects with patterns or letters. As far as we know, no paper has ever reported the shape measurement for objects with patterns or letters by Fourier fringe projection profilometry (FPP). In this paper, we propose a method based on the variational decomposition TV-Hilbert-L2 model and multi-scale Retinex (MSR) to measure the shape of objects with patterns and letters by Fourier FPP. In this method, we first use the TV-Hilbert-L2 model to obtain the fringe part, then perform MSR enhancement on the fringe part, and finally decompose the enhanced fringe part with TV-Hilbert-L2 again. We evaluate the performance of this method via application to one computer-simulated noisy fringe projection pattern and two experimental fringe projection patterns with different types of patterns or letters, and comparison with the Fourier transform method, the variational image decomposition TV-Hilbert-L2 model. Furthermore, we apply the proposed method to the dynamic three-dimensional shape measurement of hand posture with pattern. The experimental results show that our method can effectively measure the dynamic shape of objects with patterns or letters from a single-frame fringe projection pattern.